summaryrefslogtreecommitdiffstats
path: root/video/out/vo_caca.c
diff options
context:
space:
mode:
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 3a07f57152..885a6c6e9a 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_nomouse_input)
+ if (!vo->opts->vo.nomouse_input)
mplayer_put_key(vo->key_fifo,
(MP_MOUSE_BTN0 + cev.data.mouse.button - 1) | MP_KEY_STATE_DOWN);
break;
case CACA_EVENT_MOUSE_RELEASE:
- if (!vo_nomouse_input)
+ if (!vo->opts->vo.nomouse_input)
mplayer_put_key(vo->key_fifo,
MP_MOUSE_BTN0 + cev.data.mouse.button - 1);
break;