From c28ed5eeedba7ea4db7d9be6469820b2a2a50017 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Tue, 15 Dec 2009 10:06:39 +0000 Subject: [PATCH] Make desktop grid window tabbing safe. svn path=/trunk/KDE/kdebase/workspace/; revision=1062594 --- effects/desktopgrid/desktopgrid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp index fb3ad8c290..50e3642448 100644 --- a/effects/desktopgrid/desktopgrid.cpp +++ b/effects/desktopgrid/desktopgrid.cpp @@ -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 ); }