From 22e74091606886a83135732dc4622c1b9326e972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 13 Feb 2004 17:29:56 +0000 Subject: [PATCH] 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 --- geometry.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index 30b0ab0b62..4deea37edc 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -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(); } }