[MPlayer-cvslog] r36260 - trunk/libvo/x11_common.c
reimar
subversion at mplayerhq.hu
Thu May 9 16:06:15 CEST 2013
Author: reimar
Date: Thu May 9 16:06:15 2013
New Revision: 36260
Log:
Remove XSelectInput and XSync call that do not seem to serve any purpose.
They existed since the first version of vo_gl and simply
ended up being carried on.
This could cause events to be lost.
Part of a patch by Jens Stimpfle [debian jstimpfle de]
Modified:
trunk/libvo/x11_common.c
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c Thu May 9 12:53:20 2013 (r36259)
+++ trunk/libvo/x11_common.c Thu May 9 16:06:15 2013 (r36260)
@@ -1181,8 +1181,6 @@ void vo_x11_create_vo_window(XVisualInfo
XNextEvent(mDisplay, &xev);
} while (xev.type != MapNotify || xev.xmap.event != vo_window);
vo_x11_clearwindow(mDisplay, vo_window);
- XSelectInput(mDisplay, vo_window, NoEventMask);
- XSync(mDisplay, False);
vo_x11_selectinput_witherr(mDisplay, vo_window,
StructureNotifyMask | KeyPressMask | KeyReleaseMask | PointerMotionMask |
ButtonPressMask | ButtonReleaseMask | ExposureMask);
More information about the MPlayer-cvslog
mailing list