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:
parent
4862212c14
commit
6ed3b61844
3
client.c
3
client.c
|
@ -446,9 +446,6 @@ client_focus(client_t *c)
|
||||||
/* X11 doesn't let you focus a window that isn't viewable */
|
/* X11 doesn't let you focus a window that isn't viewable */
|
||||||
client_unban(c);
|
client_unban(c);
|
||||||
|
|
||||||
if (!c->nofocus)
|
|
||||||
client_focus_update(c);
|
|
||||||
|
|
||||||
client_set_focus(c, !c->nofocus);
|
client_set_focus(c, !c->nofocus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue