From 5646eafb3387f45c38dd7892b71ea72fa263aa70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 6 Jun 2006 15:56:43 +0000 Subject: [PATCH] Do the miscalculated-place-at-the-same-position hack only if it comes from an application. svn path=/trunk/KDE/kdebase/workspace/; revision=548841 --- geometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index f7a340c08b..a762c9186e 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -1384,8 +1384,8 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i // the location to the current location but miscalculate the // frame size due to kwin being a double-reparenting window // manager - if ( new_pos.x() == x() + clientPos().x() && - new_pos.y() == y() + clientPos().y() && gravity == NorthWestGravity ) + if ( new_pos.x() == x() + clientPos().x() && new_pos.y() == y() + clientPos().y() + && gravity == NorthWestGravity && !from_tool ) { new_pos.setX( x()); new_pos.setY( y());