From 760548da286400534017e885af123fffeb6cc707 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 26 Jul 2014 20:31:26 +0200 Subject: vo: hack to avoid threading issues with mouse input VO backends which are or will run in their own thread have a problem with vo_mouse_movement() calling vo_control(). Restrict this to VOs which actually need this. --- video/out/vo_x11.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/vo_x11.c') diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index 63c256c509..6cd2220c2b 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -647,6 +647,7 @@ static int control(struct vo *vo, uint32_t request, void *data) const struct vo_driver video_out_x11 = { .description = "X11 ( XImage/Shm )", .name = "x11", + .caps = VO_CAP_EVIL_OSD, .priv_size = sizeof(struct priv), .options = (const struct m_option []){{0}}, .preinit = preinit, -- cgit v1.2.3