stack: stack_client_* calls stack_windows()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4ef5e816ec
commit
abd73e4f08
|
@ -1253,8 +1253,6 @@ luaA_client_lower(lua_State *L)
|
|||
for(client_t *tc = c->transient_for; tc; tc = tc->transient_for)
|
||||
stack_client_push(tc);
|
||||
|
||||
stack_windows();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -212,7 +212,6 @@ client_raise(client_t *c)
|
|||
|
||||
/* Push c on top of the stack. */
|
||||
stack_client_append(c);
|
||||
stack_windows();
|
||||
}
|
||||
|
||||
/** Check if a client has fixed size.
|
||||
|
|
3
stack.c
3
stack.c
|
@ -34,6 +34,7 @@ stack_client_remove(client_t *c)
|
|||
break;
|
||||
}
|
||||
ewmh_update_net_client_list_stacking(c->phys_screen);
|
||||
stack_windows();
|
||||
}
|
||||
|
||||
/** Push the client at the beginning of the client stack.
|
||||
|
@ -45,6 +46,7 @@ stack_client_push(client_t *c)
|
|||
stack_client_remove(c);
|
||||
client_array_push(&globalconf.stack, c);
|
||||
ewmh_update_net_client_list_stacking(c->phys_screen);
|
||||
stack_windows();
|
||||
}
|
||||
|
||||
/** Push the client at the end of the client stack.
|
||||
|
@ -56,6 +58,7 @@ stack_client_append(client_t *c)
|
|||
stack_client_remove(c);
|
||||
client_array_append(&globalconf.stack, c);
|
||||
ewmh_update_net_client_list_stacking(c->phys_screen);
|
||||
stack_windows();
|
||||
}
|
||||
|
||||
static bool need_stack_refresh = false;
|
||||
|
|
Loading…
Reference in New Issue