diff options
author | Kalle Wallin <kaw@linux.se> | 2004-07-12 21:17:27 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-07-12 21:17:27 +0000 |
commit | 2c6af7312cf617f40ab407323fd07a9fa5579495 (patch) | |
tree | fb4f458db5608b60a8b922c2c57015276c846c68 /src/screen.c | |
parent | a054f129e4e4eb6baac21c192c1cf49bd6343fc4 (diff) | |
download | mpd-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.c | 3 |
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 ) |