[MPlayer-cvslog] r34212 - trunk/gui/wm/ws.c

ib subversion at mplayerhq.hu
Mon Oct 17 14:37:32 CEST 2011


Author: ib
Date: Mon Oct 17 14:37:32 2011
New Revision: 34212

Log:
Fix bug in wsResizeWindow().

Map the window again, if it previously has been unmapped.

This fixes a bug occurring with olvwm.

Modified:
   trunk/gui/wm/ws.c

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Mon Oct 17 12:48:20 2011	(r34211)
+++ trunk/gui/wm/ws.c	Mon Oct 17 14:37:32 2011	(r34212)
@@ -1189,6 +1189,9 @@ void wsResizeWindow(wsTWindow *win, int 
 
     if (win->ReSize)
         win->ReSize(win->X, win->Y, win->Width, win->Height);
+
+    if (vo_wm_type == 0)
+        XMapWindow(wsDisplay, win->WindowID);
 }
 
 // ----------------------------------------------------------------------------------------------


More information about the MPlayer-cvslog mailing list