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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_caca.c b/video/out/vo_caca.c
index fcb0bc4322..78eaf2b395 100644
--- a/video/out/vo_caca.c
+++ b/video/out/vo_caca.c
@@ -182,7 +182,7 @@ static void check_events(struct vo *vo)
case CACA_EVENT_MOUSE_RELEASE:
if (!vo->opts->nomouse_input)
mplayer_put_key(vo->key_fifo,
- MP_MOUSE_BTN0 + cev.data.mouse.button - 1);
+ (MP_MOUSE_BTN0 + cev.data.mouse.button - 1) | MP_KEY_STATE_UP);
break;
case CACA_EVENT_KEY_PRESS:
{