aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-12 21:17:27 +0000
committerKalle Wallin <kaw@linux.se>2004-07-12 21:17:27 +0000
commit2c6af7312cf617f40ab407323fd07a9fa5579495 (patch)
treefb4f458db5608b60a8b922c2c57015276c846c68 /src/screen.c
parenta054f129e4e4eb6baac21c192c1cf49bd6343fc4 (diff)
downloadmpd-2c6af7312cf617f40ab407323fd07a9fa5579495.tar.gz
mpd-2c6af7312cf617f40ab407323fd07a9fa5579495.tar.xz
mpd-2c6af7312cf617f40ab407323fd07a9fa5579495.zip
Mouse support is now optional (enable-mouse)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1861 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index c2c1e7fda..9ea46f739 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -478,7 +478,8 @@ screen_init(mpdclient_t *c)
timeout(SCREEN_TIMEOUT);
/* initialize mouse support */
#ifdef HAVE_GETMOUSE
- mousemask(ALL_MOUSE_EVENTS, NULL);
+ if( options.enable_mouse_events )
+ mousemask(ALL_MOUSE_EVENTS, NULL);
#endif
if( COLS<SCREEN_MIN_COLS || LINES<SCREEN_MIN_ROWS )