From a1bebb700035368090db45e5324010a1aa66400f Mon Sep 17 00:00:00 2001 From: Chani Armitage Date: Thu, 13 May 2010 04:30:34 +0000 Subject: [PATCH] have alt-tab skip windows that aren't on the activity svn path=/trunk/KDE/kdebase/workspace/; revision=1126058 --- tabbox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tabbox.cpp b/tabbox.cpp index 19c28b2a74..f0cec22375 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -130,6 +130,7 @@ TabBoxClient* TabBoxHandlerImpl::clientToAddToList( TabBoxClient* client, int de addClient = true; else addClient = current->isOnDesktop( desktop ); + addClient = addClient && current->isOnCurrentActivity(); addClient = addClient && current->wantsTabFocus() && !current->skipSwitcher(); if ( addClient ) { // don't add windows that have modal dialogs