client: remove a few useless client_need_arrange().
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0d834c325b
commit
c9caf05c2d
3
client.c
3
client.c
|
@ -800,7 +800,6 @@ client_setminimized(client_t *c, bool s)
|
||||||
{
|
{
|
||||||
if(c->isminimized != s)
|
if(c->isminimized != s)
|
||||||
{
|
{
|
||||||
client_need_arrange(c);
|
|
||||||
c->isminimized = s;
|
c->isminimized = s;
|
||||||
client_need_arrange(c);
|
client_need_arrange(c);
|
||||||
ewmh_client_update_hints(c);
|
ewmh_client_update_hints(c);
|
||||||
|
@ -818,7 +817,6 @@ client_setsticky(client_t *c, bool s)
|
||||||
{
|
{
|
||||||
if(c->issticky != s)
|
if(c->issticky != s)
|
||||||
{
|
{
|
||||||
client_need_arrange(c);
|
|
||||||
c->issticky = s;
|
c->issticky = s;
|
||||||
client_need_arrange(c);
|
client_need_arrange(c);
|
||||||
ewmh_client_update_hints(c);
|
ewmh_client_update_hints(c);
|
||||||
|
@ -1560,7 +1558,6 @@ luaA_client_newindex(lua_State *L)
|
||||||
b = luaA_checkboolean(L, 3);
|
b = luaA_checkboolean(L, 3);
|
||||||
if(b != (*c)->ishidden)
|
if(b != (*c)->ishidden)
|
||||||
{
|
{
|
||||||
client_need_arrange(*c);
|
|
||||||
(*c)->ishidden = b;
|
(*c)->ishidden = b;
|
||||||
client_need_arrange(*c);
|
client_need_arrange(*c);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue