From 56fec5ad3ab4d20dac4ee9ef0ef65e10670b7dff Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 3 Aug 2013 14:45:46 +0200 Subject: option: fix inverted --mouseinput option Also fixes --no-mouseinput. --- core/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})), -- cgit v1.2.3