From 27f9c0177a9d37e5b19732f7e9ff67860ab4bd48 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 15 Aug 2010 13:17:07 +0200 Subject: [PATCH] Don't call "focus" hook in client_focus() Later on that call will be done through a FocusIn event. Signed-off-by: Uli Schlachter --- objects/client.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/objects/client.c b/objects/client.c index 54ee4b27..72ee888e 100644 --- a/objects/client.c +++ b/objects/client.c @@ -420,9 +420,6 @@ client_focus(client_t *c) /* X11 doesn't let you focus a window that isn't viewable */ client_unban(c); - if (!c->nofocus) - client_focus_update(c); - client_set_focus(c, !c->nofocus); }