From e261ad7b5db6c4826d6590cf31f0d15b423d32c5 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 23 Mar 2008 20:55:37 +0100 Subject: [PATCH] Refuse to give focus on skippable windows Signed-off-by: Julien Danjou --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.c b/client.c index 14ba89a0..8a4b8168 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 */