summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 885bd0f7f1..29374ed0e6 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -718,8 +718,9 @@ static void uninit(struct vo *vo)
static int x11_fd_callback(void *ctx, int fd)
{
- check_events(ctx);
- return mplayer_get_key(NULL, 0);
+ struct vo *vo = ctx;
+ check_events(vo);
+ return mplayer_get_key(vo->key_fifo, 0);
}
static int preinit(struct vo *vo, const char *arg)