Prevent modal dialogs to be shown twice in alt+tab list.

BUG: 230807
CCBUG: 228186

svn path=/trunk/KDE/kdebase/workspace/; revision=1105473
This commit is contained in:
Martin Gräßlin 2010-03-20 11:05:02 +00:00
parent 7277ec7450
commit 471bd26634

View file

@ -136,7 +136,7 @@ TabBoxClient* TabBoxHandlerImpl::clientToAddToList( TabBoxClient* client, int de
Client* modal = current->findModal();
if( modal == NULL || modal == current )
ret = current;
else if( clientList().contains( modal->tabBoxClient() ) )
else if( !clientList().contains( modal->tabBoxClient() ) )
ret = modal;
else
{