CT: erase crash in tabbox thanks to Malte Starostik

svn path=/trunk/kdebase/kwin/; revision=39262
This commit is contained in:
Cristian Tibirna 2000-01-26 01:43:26 +00:00
parent 133bce84f6
commit dc7f396179

View file

@ -94,9 +94,9 @@ void TabBox::nextPrev( bool next)
else
client = workspace()->previousClient(client);
} while (client != sign && client &&
( !options_traverse_all && !client->isOnDesktop(workspace()->currentDesktop()) )
||
( client->isIconified() && client->mainClient() != client )
(( !options_traverse_all &&
!client->isOnDesktop(workspace()->currentDesktop()) ) ||
( client->isIconified() && client->mainClient() != client ))
);