This reverts commit c9caf05c2de31dfa4489745e7a4c825595fdb552.

- 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.
---
 client.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/client.c b/client.c
index eaa3171..612627b 100644
--- a/client.c
+++ b/client.c
@@ -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);
         }
-- 
1.6.1.3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to