From faabdff547f59ca77e1d607b2852493414faf053 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 4 Sep 2008 10:33:54 +0200 Subject: [PATCH] client: call need_arrange before changing attribute Otherwise it may be not visible after. Signed-off-by: Julien Danjou --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index 23b8d48ec..34356c4a2 100644 --- a/client.c +++ b/client.c @@ -1164,6 +1164,7 @@ luaA_client_newindex(lua_State *L) b = luaA_checkboolean(L, 3); if(b != (*c)->ishidden) { + client_need_arrange(*c); (*c)->ishidden = b; if(client_isvisible(*c, (*c)->screen)) globalconf.screens[(*c)->screen].need_arrange = true;