treat "AWTapp" special: obey xSizeHint.x/y
svn path=/trunk/kdebase/kwin/; revision=87985
This commit is contained in:
parent
41e4bffe40
commit
68285bb415
1 changed files with 10 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue