A window which is overlapping screens has to be moved to a position on its screen even if it is the only window on the screen.
BUG: 203210 svn path=/trunk/KDE/kdebase/workspace/; revision=1024193
This commit is contained in:
parent
363986a030
commit
14e8285615
1 changed files with 5 additions and 2 deletions
|
@ -1107,8 +1107,11 @@ void PresentWindowsEffect::calculateWindowTransformationsNatural( EffectWindowLi
|
|||
if( windowlist.count() == 1 )
|
||||
{
|
||||
// Just move the window to its original location to save time
|
||||
m_motionManager.moveWindow( windowlist[0], windowlist[0]->geometry() );
|
||||
return;
|
||||
if( effects->clientArea( FullScreenArea, windowlist[0] ).contains( windowlist[0]->geometry() ) )
|
||||
{
|
||||
m_motionManager.moveWindow( windowlist[0], windowlist[0]->geometry() );
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// As we are using pseudo-random movement (See "slot") we need to make sure the list
|
||||
|
|
Loading…
Reference in a new issue