diff options
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 ) |