Author: olivier
Date: 2006-07-10 17:22:16 +0000 (Mon, 10 Jul 2006)
New Revision: 22397

Modified:
   xfwm4/trunk/src/events.c
Log:
Do NOT compress configure request events, it confuses the compositor and the 
window pixmaps.

Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c    2006-07-10 16:04:07 UTC (rev 22396)
+++ xfwm4/trunk/src/events.c    2006-07-10 17:22:16 UTC (rev 22397)
@@ -1271,28 +1271,10 @@
 {
     Client *c = NULL;
     XWindowChanges wc;
-    XEvent otherEvent;
 
     TRACE ("entering handleConfigureRequest");
     TRACE ("ConfigureRequest on window (0x%lx)", ev->window);
 
-    /* Compress events - logic taken from kwin */
-    while (XCheckTypedWindowEvent (display_info->dpy, ev->window, 
ConfigureRequest, &otherEvent))
-    {
-        /* Update the display time */
-        myDisplayUpdateCurrentTime (display_info, &otherEvent);
-
-        if (otherEvent.xconfigurerequest.value_mask == ev->value_mask)
-        {
-            ev = &otherEvent.xconfigurerequest;
-        }
-        else
-        {
-            XPutBackEvent (display_info->dpy, &otherEvent);
-            break;
-        }
-    }
-
     wc.x = ev->x;
     wc.y = ev->y;
     wc.width = ev->width;

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

Reply via email to