From e8902976170e1b05480d099996df2fd5d9e4e0bd Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 27 May 2008 21:34:52 +0200 Subject: [PATCH] [client] Focus even if we think we already have focus Because sometimes clients steal focus. Signed-off-by: Julien Danjou --- client.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client.c b/client.c index 4eebccba..43769d60 100644 --- a/client.c +++ b/client.c @@ -244,10 +244,6 @@ client_focus(client_t *c, int screen) /* if c is still NULL take next client in the stack */ for(c = globalconf.clients; c && (c->skip || !client_isvisible(c, screen)); c = c->next); - /* if c is already the focused window, then stop */ - if(c == globalconf.focus->client) - return false; - /* unfocus current selected client */ if(globalconf.focus->client) client_unfocus(globalconf.focus->client);