stack: stack_client_* calls stack_windows()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-10-07 15:25:18 +02:00
parent 4ef5e816ec
commit abd73e4f08
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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.

View File

@ -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;