diff --git a/client.c b/client.c index 14ba89a07..8a4b81688 100644 --- a/client.c +++ b/client.c @@ -183,7 +183,7 @@ void client_focus(Client *c, int screen, Bool raise) { /* if c is NULL or invisible, take next client in the focus history */ - if(!c || (c && !client_isvisible(c, screen))) + if(!c || (c && (!client_isvisible(c, screen) || c->skip))) { c = focus_get_current_client(screen); /* if c is still NULL take next client in the stack */