diff options
author | wm4 <wm4@nowhere> | 2013-08-03 14:45:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-03 14:56:28 +0200 |
commit | 56fec5ad3ab4d20dac4ee9ef0ef65e10670b7dff (patch) | |
tree | aa0e263d6e1c7341f19679081e64463129ffe529 /core | |
parent | 2710ae801738c81bc8739f89072d068d90dbfb7e (diff) | |
download | mpv-56fec5ad3ab4d20dac4ee9ef0ef65e10670b7dff.tar.bz2 mpv-56fec5ad3ab4d20dac4ee9ef0ef65e10670b7dff.tar.xz |
option: fix inverted --mouseinput option
Also fixes --no-mouseinput.
Diffstat (limited to 'core')
-rw-r--r-- | core/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/options.c b/core/options.c index ee4f783b35..e2a7589708 100644 --- a/core/options.c +++ b/core/options.c @@ -604,7 +604,7 @@ const m_option_t mp_opts[] = { #endif OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0), OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0), - OPT_FLAG("mouseinput", vo.nomouse_input, 0), + OPT_FLAG_CONSTANTS("mouseinput", vo.nomouse_input, 0, 1, 0), OPT_CHOICE_OR_INT("screen", vo.screen_id, 0, 0, 32, ({"default", -1})), |