Don't call "focus" hook in client_focus()

Later on that call will be done through a FocusIn event.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-08-15 13:17:07 +02:00
parent 46048332b0
commit 27f9c0177a
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}