treat "AWTapp" special: obey xSizeHint.x/y

svn path=/trunk/kdebase/kwin/; revision=87985
This commit is contained in:
Matthias Ettrich 2001-03-20 21:05:57 +00:00
parent 41e4bffe40
commit 68285bb415

View file

@ -602,6 +602,8 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) ||
(xSizeHint.flags & USPosition) ) {
placementDone = TRUE;
if ( resource_name == "AWTapp" )
geom.moveTopLeft( QPoint(xSizeHint.x, xSizeHint.y) );
if ( windowType() == NET::Normal && !area.contains( geom.topLeft() ) && may_move ) {
int tx = geom.x();
int ty = geom.y();