From 6ed3b618449be3804daf3b60163a7c202558c52e 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 --- client.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client.c b/client.c index 494f261ab..8042c3ab9 100644 --- a/client.c +++ b/client.c @@ -446,9 +446,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); }