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
This commit is contained in:
Luboš Luňák 2003-10-01 12:08:09 +00:00
parent ba06d6afbf
commit ca3a1382f2

View file

@ -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