Do the miscalculated-place-at-the-same-position hack only

if it comes from an application.


svn path=/trunk/KDE/kdebase/workspace/; revision=548841
This commit is contained in:
Luboš Luňák 2006-06-06 15:56:43 +00:00
parent b8a472a4df
commit 5646eafb33

View file

@ -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());