Mercurial > mplayer.hg
changeset 36164:17c68386c303
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]
author | reimar |
---|---|
date | Thu, 09 May 2013 14:06:15 +0000 |
parents | d13733fdf789 |
children | 9514b53f6f04 |
files | libvo/x11_common.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Thu May 09 10:53:20 2013 +0000 +++ b/libvo/x11_common.c Thu May 09 14:06:15 2013 +0000 @@ -1181,8 +1181,6 @@ 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);