[MPlayer-cvslog] r36473 - trunk/libvo/x11_common.c

reimar subversion at mplayerhq.hu
Thu Oct 17 02:07:12 CEST 2013


Author: reimar
Date: Thu Oct 17 02:07:12 2013
New Revision: 36473

Log:
Fix hang if uninit is called while the window is still hidden.

Modified:
   trunk/libvo/x11_common.c

Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c	Wed Oct 16 21:18:48 2013	(r36472)
+++ trunk/libvo/x11_common.c	Thu Oct 17 02:07:12 2013	(r36473)
@@ -778,7 +778,7 @@ void vo_x11_uninit(void)
         if (vo_window != None)
         {
             XClearWindow(mDisplay, vo_window);
-            if (WinID < 0)
+            if (WinID < 0 && vo_window != mRootWin)
             {
                 XEvent xev;
 


More information about the MPlayer-cvslog mailing list