diff --git a/client.c b/client.c index 58f4e6ea1..0579def54 100644 --- a/client.c +++ b/client.c @@ -193,6 +193,9 @@ client_focus(Client *c, int screen, Bool raise) for(c = globalconf.clients; c && (c->skip || !client_isvisible(c, screen)); c = c->next); } + if(c == globalconf.focus->client) + return; + /* unfocus current selected client */ if(globalconf.focus->client) client_unfocus(globalconf.focus->client);