diff --git a/focus.c b/focus.c index bf1cde7f6..ae8bfa573 100644 --- a/focus.c +++ b/focus.c @@ -75,8 +75,8 @@ focus_get_latest_client_for_tags(Tag **t, int nindex) for(node = globalconf.focus; node; node = node->next) if(node->client && !node->client->skip - && node->client != globalconf.scratch.client - || globalconf.scratch.isvisible) + && (node->client != globalconf.scratch.client + || globalconf.scratch.isvisible)) for(tags = t; *tags; tags++) if(is_client_tagged(node->client, *tags)) {