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/conf.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/conf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c index 9dacbfbee..f1f1223a3 100644 --- a/src/conf.c +++ b/src/conf.c @@ -57,6 +57,7 @@ #define CONF_AUDIBLE_BELL "audible-bell" #define CONF_VISIBLE_BELL "visible-bell" #define CONF_XTERM_TITLE "set-xterm-title" +#define CONF_MOUSE_EVENTS "enable-mouse" typedef enum { KEY_PARSER_UNKNOWN, @@ -462,6 +463,10 @@ read_rc_file(char *filename, options_t *options) { options->enable_xterm_title = str2bool(value); } + else if( !strcasecmp(CONF_MOUSE_EVENTS, name) ) + { + options->enable_mouse_events = str2bool(value); + } else { match_found = 0; |