So much for clever workarounds.

CCMAIL: 80653-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=307565
This commit is contained in:
Luboš Luňák 2004-04-30 15:12:28 +00:00
parent d05a7b068b
commit bfc2e69530

View file

@ -1120,12 +1120,12 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i
if ( value_mask & CWY ) if ( value_mask & CWY )
new_pos.setY( ry ); new_pos.setY( ry );
// clever workaround for applications like xv that want to set // clever(??) workaround for applications like xv that want to set
// the location to the current location but miscalculate the // the location to the current location but miscalculate the
// frame size due to kwin being a double-reparenting window // frame size due to kwin being a double-reparenting window
// manager // manager
if ( new_pos.x() == x() + clientPos().x() && if ( new_pos.x() == x() + clientPos().x() &&
new_pos.y() == y() + clientPos().y() ) new_pos.y() == y() + clientPos().y() && gravity == NorthWestGravity )
{ {
new_pos.setX( x()); new_pos.setX( x());
new_pos.setY( y()); new_pos.setY( y());