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:
parent
5bacb52ee3
commit
b44a1fea35
1
client.c
1
client.c
|
@ -1353,6 +1353,7 @@ luaA_client_newindex(lua_State *L)
|
||||||
titlebar_ref(t);
|
titlebar_ref(t);
|
||||||
titlebar_init(*c);
|
titlebar_init(*c);
|
||||||
}
|
}
|
||||||
|
client_stack();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -406,6 +406,7 @@ luaA_titlebar_newindex(lua_State *L)
|
||||||
client_need_arrange(c);
|
client_need_arrange(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
client_stack();
|
||||||
break;
|
break;
|
||||||
case A_TK_ALIGN:
|
case A_TK_ALIGN:
|
||||||
if((buf = luaL_checklstring(L, 3, &len)))
|
if((buf = luaL_checklstring(L, 3, &len)))
|
||||||
|
|
Loading…
Reference in New Issue