[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-10-01 11:43:35
[Download RAW message or body]

CVS commit by lunakl: 

Drop configure events compression
a) it's wrong (it may e.g. miss gravity change)
b) I doubt it improves anything


  M +0 -14     events.cpp   1.28


--- kdebase/kwin/events.cpp  #1.27:1.28
@@ -676,18 +676,4 @@ void Client::configureRequestEvent( XCon
         setShade( ShadeNone );
 
-    // compress configure requests
-    XEvent otherEvent;
-    while (XCheckTypedWindowEvent (qt_xdisplay(), window(),
-                                   ConfigureRequest, &otherEvent) ) 
-        {
-        if (otherEvent.xconfigurerequest.value_mask == e->value_mask)
-            *e = otherEvent.xconfigurerequest;
-        else 
-            {
-            XPutBackEvent(qt_xdisplay(), &otherEvent);
-            break;
-            }
-        }
-
     if ( e->value_mask & CWBorderWidth ) 
         {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic