[Xfce4-commits] r22807 - xfwm4/trunk/src

Olivier Fourdan olivier at xfce.org
Thu Aug 17 05:57:26 UTC 2006


Author: olivier
Date: 2006-08-17 05:57:23 +0000 (Thu, 17 Aug 2006)
New Revision: 22807

Modified:
   xfwm4/trunk/src/client.c
Log:
Unmap client window of shaded apps before reparenting

Modified: xfwm4/trunk/src/client.c
===================================================================
--- xfwm4/trunk/src/client.c	2006-08-16 22:23:52 UTC (rev 22806)
+++ xfwm4/trunk/src/client.c	2006-08-17 05:57:23 UTC (rev 22807)
@@ -1747,12 +1747,11 @@
 
     XSelectInput (display_info->dpy, c->window, 0);
     XSetWindowBorderWidth (display_info->dpy, c->window, 0);
-    XReparentWindow (display_info->dpy, c->window, c->frame, frameLeft (c), frameTop (c));
     if (FLAG_TEST (c->flags, CLIENT_FLAG_SHADED))
     {
         XUnmapWindow (display_info->dpy, c->window);
     }
-
+    XReparentWindow (display_info->dpy, c->window, c->frame, frameLeft (c), frameTop (c));
     valuemask = CWEventMask;
     attributes.event_mask = (CLIENT_EVENT_MASK);
     XChangeWindowAttributes (display_info->dpy, c->window, valuemask, &attributes);



More information about the Xfce4-commits mailing list