Mercurial > mplayer.hg
changeset 34272:4074457d5746
caca: for ordinary keys, send key events on press instead of release.
This is consistent with how other vos behave.
Patch by Paul B. Mahol [onemda gmail com].
author | reimar |
---|---|
date | Wed, 23 Nov 2011 23:59:01 +0000 |
parents | abe845d0691f |
children | 3e8cb5ef9ac7 |
files | libvo/vo_caca.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_caca.c Wed Nov 23 23:57:37 2011 +0000 +++ b/libvo/vo_caca.c Wed Nov 23 23:59:01 2011 +0000 @@ -243,7 +243,7 @@ if (!vo_nomouse_input) mplayer_put_key(MOUSE_BTN0 + cev.data.mouse.button - 1); break; - case CACA_EVENT_KEY_RELEASE: + case CACA_EVENT_KEY_PRESS: { int key = cev.data.key.ch; const char *msg_name;