From bc38b86c80e6b0e6ae91ee5e9bea1e3fbf297c33 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 27 May 2008 21:46:13 +0200 Subject: [PATCH] [client] Need arrange on focus Signed-off-by: Julien Danjou --- client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.c b/client.c index 43769d60..fccefd6d 100644 --- a/client.c +++ b/client.c @@ -262,6 +262,9 @@ client_focus(client_t *c, int screen) window_grabbuttons(c->win, c->phys_screen); phys_screen = c->phys_screen; + /* Some layouts use focused client differently, so call them back. */ + globalconf.screens[c->screen].need_arrange = true; + /* execute hook */ luaA_client_userdata_new(globalconf.focus->client); luaA_dofunction(globalconf.L, globalconf.hooks.focus, 1);