have alt-tab skip windows that aren't on the activity

svn path=/trunk/KDE/kdebase/workspace/; revision=1126058
This commit is contained in:
Chani Armitage 2010-05-13 04:30:34 +00:00
parent 59590a5993
commit a1bebb7000

View file

@ -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