diff --git a/tabbox.cpp b/tabbox.cpp index a060786c2c..80fe0c63d4 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -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 )) );