titlebar: restack clients on titlebar add

This is mandatory since we do not know where the client is on stack.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-03 15:33:14 +02:00
parent 5bacb52ee3
commit b44a1fea35
2 changed files with 2 additions and 0 deletions

View File

@ -1353,6 +1353,7 @@ luaA_client_newindex(lua_State *L)
titlebar_ref(t);
titlebar_init(*c);
}
client_stack();
break;
default:
return 0;

View File

@ -406,6 +406,7 @@ luaA_titlebar_newindex(lua_State *L)
client_need_arrange(c);
}
}
client_stack();
break;
case A_TK_ALIGN:
if((buf = luaL_checklstring(L, 3, &len)))