Author: olivier
Date: 2006-07-11 17:20:32 +0000 (Tue, 11 Jul 2006)
New Revision: 22404

Modified:
   xfwm4/trunk/src/compositor.c
Log:
Make sure the window pixmap is cleared out.

Modified: xfwm4/trunk/src/compositor.c
===================================================================
--- xfwm4/trunk/src/compositor.c        2006-07-11 13:00:56 UTC (rev 22403)
+++ xfwm4/trunk/src/compositor.c        2006-07-11 17:20:32 UTC (rev 22404)
@@ -1974,12 +1974,6 @@
     TRACE ("entering resize_win");
     TRACE ("resizing 0x%lx, (%i,%i) %ix%i", cw->id, x, y, width, height);
 
-    if (!WIN_IS_VISIBLE(cw))
-    {
-        set_size_attributes (cw, x, y, width, height, bw);
-        return;
-    }
-
     screen_info = cw->screen_info;
     display_info = screen_info->display_info;
 
@@ -2030,6 +2024,12 @@
 
     set_size_attributes (cw, x, y, width, height, bw);
 
+    if (!WIN_IS_VISIBLE(cw))
+    {
+        /* 'nuff for invisible windows... */
+        return;
+    }
+
     cw->extents = win_extents (cw);
     XFixesUnionRegion (display_info->dpy, damage, damage, cw->extents);
     /* A shape notify will likely change the shadows too, so clear the extents 
*/

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to