[MPlayer-cvslog] r30760 - trunk/libvo/x11_common.c
reimar
subversion at mplayerhq.hu
Sat Feb 27 18:55:57 CET 2010
Author: reimar
Date: Sat Feb 27 18:55:57 2010
New Revision: 30760
Log:
Enable StructureNotifyMask before waiting for a DestroyNotify event.
Fixes hangs if OpenGL initialization fails in vo gl preinit and we
call uninit while the window is still hidden.
Modified:
trunk/libvo/x11_common.c
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c Sat Feb 27 13:48:11 2010 (r30759)
+++ trunk/libvo/x11_common.c Sat Feb 27 18:55:57 2010 (r30760)
@@ -788,6 +788,7 @@ void vo_x11_uninit(void)
XEvent xev;
XUnmapWindow(mDisplay, vo_window);
+ XSelectInput(mDisplay, vo_window, StructureNotifyMask);
XDestroyWindow(mDisplay, vo_window);
do
{
More information about the MPlayer-cvslog
mailing list