Author: olivier
Date: 2006-07-16 16:53:07 +0000 (Sun, 16 Jul 2006)
New Revision: 22463

Modified:
   xfwm4/trunk/src/compositor.c
Log:
Fix composite redraw with XShape windows

Modified: xfwm4/trunk/src/compositor.c
===================================================================
--- xfwm4/trunk/src/compositor.c        2006-07-16 13:02:24 UTC (rev 22462)
+++ xfwm4/trunk/src/compositor.c        2006-07-16 16:53:07 UTC (rev 22463)
@@ -1985,7 +1985,7 @@
         cw->extents = None;
     }
 
-    if ((cw->attr.width != width) || (cw->attr.height != height))
+    if ((cw->attr.width != width) || (cw->attr.height != height) || 
shape_notify)
     {
 #if HAVE_NAME_WINDOW_PIXMAP
         if (cw->name_window_pixmap)
@@ -2007,7 +2007,8 @@
         }
     }
 
-    if ((cw->attr.width != width) || (cw->attr.height != height) || 
(cw->attr.x != x) || (cw->attr.y != y))
+    if ((cw->attr.width != width) || (cw->attr.height != height) || 
+        (cw->attr.x != x) || (cw->attr.y != y) || shape_notify)
     {
         if (cw->borderSize)
         {

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to