diff --git a/client.c b/client.c index 09a7a4da..6af6253e 100644 --- a/client.c +++ b/client.c @@ -446,6 +446,9 @@ 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); }