Revert "client: remove a few useless client_need_arrange()."

This reverts commit c9caf05c2d.

- They were not so useless after all, the reason is that before or after setting the new state client_need_arrange() is a no-op.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Maarten Maathuis 2009-02-17 02:53:41 +01:00 committed by Julien Danjou
parent d2af75691e
commit 4f447bcbdc
1 changed files with 3 additions and 0 deletions

View File

@ -800,6 +800,7 @@ client_setminimized(client_t *c, bool s)
{
if(c->isminimized != s)
{
client_need_arrange(c);
c->isminimized = s;
client_need_arrange(c);
ewmh_client_update_hints(c);
@ -817,6 +818,7 @@ client_setsticky(client_t *c, bool s)
{
if(c->issticky != s)
{
client_need_arrange(c);
c->issticky = s;
client_need_arrange(c);
ewmh_client_update_hints(c);
@ -1558,6 +1560,7 @@ luaA_client_newindex(lua_State *L)
b = luaA_checkboolean(L, 3);
if(b != (*c)->ishidden)
{
client_need_arrange(*c);
(*c)->ishidden = b;
client_need_arrange(*c);
}