changeset 34124:7777da659cbe

Fix bug in wsResizeWindow(). Map the window again, if it previously has been unmapped. This fixes a bug occurring with olvwm.
author ib
date Mon, 17 Oct 2011 12:37:32 +0000
parents 178c5660c090
children a3c7ac76fac1
files gui/wm/ws.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Mon Oct 17 10:48:20 2011 +0000
+++ b/gui/wm/ws.c	Mon Oct 17 12:37:32 2011 +0000
@@ -1189,6 +1189,9 @@
 
     if (win->ReSize)
         win->ReSize(win->X, win->Y, win->Width, win->Height);
+
+    if (vo_wm_type == 0)
+        XMapWindow(wsDisplay, win->WindowID);
 }
 
 // ----------------------------------------------------------------------------------------------