Don't fix the window position if it will be placed using a placement policy.
svn path=/trunk/kdebase/kwin/; revision=181274
This commit is contained in:
parent
826765b1df
commit
c8c79c3a02
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
|
|||
geom.setSize( geom.size().expandedTo( QSize(xSizeHint.min_width, xSizeHint.min_height ) ) );
|
||||
}
|
||||
|
||||
if ( ( windowType() == NET::Normal || windowType() == NET::Dialog || windowType() == NET::Unknown
|
||||
if ( placementDone && ( windowType() == NET::Normal || windowType() == NET::Dialog || windowType() == NET::Unknown
|
||||
|| windowType() == NET::Menu )
|
||||
&& !area.contains( geom.topLeft() ) && may_move ) {
|
||||
int tx = geom.x();
|
||||
|
|
Loading…
Reference in a new issue