work with windows on all desktops

BUG: 190840

svn path=/trunk/KDE/kdebase/workspace/; revision=959955
This commit is contained in:
Michael Zanetti 2009-04-27 16:15:08 +00:00
parent c6c6af61a6
commit 33d2f0398b

View file

@ -64,7 +64,7 @@ void SlideBackEffect::windowActivated( EffectWindow* w )
}
else
{
if( isWindowUsable( tmp ) && tmp->isOnDesktop( w->desktop() ) )
if( isWindowUsable( tmp ) && ( tmp->isOnDesktop( w->desktop() ) || w->isOnAllDesktops() ) )
{
// Do we have to move it?
if( intersects( w, tmp->geometry() ) )