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,9 +1107,12 @@ void PresentWindowsEffect::calculateWindowTransformationsNatural( EffectWindowLi
|
||||||
if( windowlist.count() == 1 )
|
if( windowlist.count() == 1 )
|
||||||
{
|
{
|
||||||
// Just move the window to its original location to save time
|
// Just move the window to its original location to save time
|
||||||
|
if( effects->clientArea( FullScreenArea, windowlist[0] ).contains( windowlist[0]->geometry() ) )
|
||||||
|
{
|
||||||
m_motionManager.moveWindow( windowlist[0], windowlist[0]->geometry() );
|
m_motionManager.moveWindow( windowlist[0], windowlist[0]->geometry() );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// As we are using pseudo-random movement (See "slot") we need to make sure the list
|
// As we are using pseudo-random movement (See "slot") we need to make sure the list
|
||||||
// is always sorted the same way no matter which window is currently active.
|
// is always sorted the same way no matter which window is currently active.
|
||||||
|
|
Loading…
Reference in a new issue