Make desktop grid window tabbing safe.

svn path=/trunk/KDE/kdebase/workspace/; revision=1062594
This commit is contained in:
Lucas Murray 2009-12-15 10:06:39 +00:00
parent dd3a6041de
commit c28ed5eeed

View file

@ -1104,7 +1104,8 @@ void DesktopGridEffect::setup()
WindowMotionManager manager;
foreach( EffectWindow* w, effects->stackingOrder() )
{
if( w->isOnDesktop( i ) && w->screen() == j && !w->isDesktop() && !w->isDock() )
if( w->isOnDesktop( i ) && w->screen() == j && !w->isDesktop() && !w->isDock() &&
w->visibleInClientGroup() )
{
manager.manage( w );
}