summaryrefslogtreecommitdiffstats
path: root/video/out/vo_caca.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-08 02:12:36 +0200
committerwm4 <wm4@nowhere>2013-09-08 03:03:58 +0200
commit68e331851ad206b7504353e864d5720c9d0d73e1 (patch)
tree7f34dadb6e557e3c3e3d4ee2d6996dddf3c666ec /video/out/vo_caca.c
parent0509532d702e53ec77e47c38a3c92575a8843dcb (diff)
downloadmpv-68e331851ad206b7504353e864d5720c9d0d73e1.tar.bz2
mpv-68e331851ad206b7504353e864d5720c9d0d73e1.tar.xz
options: remove --(no-)mouseinput option
I have no idea why it exists, as it's redundant to --(no-)mouse-movements.
Diffstat (limited to 'video/out/vo_caca.c')
-rw-r--r--video/out/vo_caca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_caca.c b/video/out/vo_caca.c
index 4d457eb57b..c71527d445 100644
--- a/video/out/vo_caca.c
+++ b/video/out/vo_caca.c
@@ -175,12 +175,12 @@ static void check_events(struct vo *vo)
vo_mouse_movement(vo, cev.data.mouse.x, cev.data.mouse.y);
break;
case CACA_EVENT_MOUSE_PRESS:
- if (!vo->opts->nomouse_input)
+ if (vo->opts->enable_mouse_movements)
mp_input_put_key(vo->input_ctx,
(MP_MOUSE_BTN0 + cev.data.mouse.button - 1) | MP_KEY_STATE_DOWN);
break;
case CACA_EVENT_MOUSE_RELEASE:
- if (!vo->opts->nomouse_input)
+ if (vo->opts->enable_mouse_movements)
mp_input_put_key(vo->input_ctx,
(MP_MOUSE_BTN0 + cev.data.mouse.button - 1) | MP_KEY_STATE_UP);
break;