Revert r2.51. Tk is either too stupid to see a difference between normal

and synthetic configure events, or it's too paranoid to trust the normal
ones.
CCMAIL: 75167-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=287782
This commit is contained in:
Luboš Luňák 2004-02-13 17:29:56 +00:00
parent ed511fc454
commit 22e7409160

View file

@ -1149,13 +1149,12 @@ void Client::setGeometry( int x, int y, int w, int h, ForceGeometry_t force )
cs.width(), cs.height());
// FRAME tady poradi tak, at neni flicker
XMoveResizeWindow( qt_xdisplay(), window(), 0, 0, cs.width(), cs.height());
// no need for real configure notify, XMoveResizeWindow() already causes real one
// sendSyntheticConfigureNotify();
}
if( shape())
updateShape();
// SELI TODO won't this be too expensive?
updateWorkareaDiffs();
sendSyntheticConfigureNotify();
}
}
@ -1188,12 +1187,11 @@ void Client::plainResize( int w, int h, ForceGeometry_t force )
XMoveResizeWindow( qt_xdisplay(), wrapperId(), clientPos().x(), clientPos().y(),
cs.width(), cs.height());
XMoveResizeWindow( qt_xdisplay(), window(), 0, 0, cs.width(), cs.height());
// no need for real configure notify, XMoveResizeWindow() already causes real one
// sendSyntheticConfigureNotify();
}
if( shape())
updateShape();
updateWorkareaDiffs();
sendSyntheticConfigureNotify();
}
}