From ca3a1382f298224d5a8c0c426902344e7cb211f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 1 Oct 2003 12:08:09 +0000 Subject: [PATCH] Drop configure events compression a) it's wrong (it may e.g. miss gravity change) b) I doubt it improves anything svn path=/trunk/kdebase/kwin/; revision=255354 --- events.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/events.cpp b/events.cpp index 5a992c2963..b99709e8cc 100644 --- a/events.cpp +++ b/events.cpp @@ -675,20 +675,6 @@ void Client::configureRequestEvent( XConfigureRequestEvent* e ) if ( isShade() ) // SELI SHADE 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 ) { // first, get rid of a window border