no more handling of obsolete ppos and uspos hints.

Advantage: really strange clients like xboing show up again

svn path=/trunk/kdebase/kwin/; revision=56740
icc-effect-5.14.5
Matthias Ettrich 2000-07-14 01:34:38 +00:00
parent 0012e5088b
commit 10e0419304
1 changed files with 0 additions and 7 deletions

View File

@ -497,12 +497,6 @@ void Client::manage( bool isMapped )
placementDone = TRUE;
else {
if ( (xSizeHint.flags & PPosition) || (xSizeHint.flags & USPosition) ) {
// support for obsolete hints
if ( xSizeHint.x != 0 && geom.x() == 0 )
geom.setRect( xSizeHint.x, geom.y(), geom.width(), geom.height() );
if ( xSizeHint.y != 0 && geom.y() == 0 )
geom.setRect( geom.x(), xSizeHint.y, geom.width(), geom.height() );
if ( (xSizeHint.flags & USPosition) == 0 ) {
QRect area = workspace()->clientArea();
if ( !area.contains( geom.topLeft() ) ) {
@ -515,7 +509,6 @@ void Client::manage( bool isMapped )
geom.moveTopLeft( QPoint( tx, ty ) );
}
}
placementDone = TRUE;
}
if ( (xSizeHint.flags & USSize) || (xSizeHint.flags & PSize) ) {