[client] Push client on stack list on manage
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c81dacf091
commit
93741f6b91
2
client.c
2
client.c
|
@ -413,6 +413,8 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int screen)
|
||||||
client_list_push(&globalconf.clients, c);
|
client_list_push(&globalconf.clients, c);
|
||||||
/* Append client in history: it'll be last. */
|
/* Append client in history: it'll be last. */
|
||||||
focus_client_append(c);
|
focus_client_append(c);
|
||||||
|
/* Push client in stack */
|
||||||
|
stack_client_push(c);
|
||||||
|
|
||||||
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
||||||
ewmh_update_net_client_list(c->phys_screen);
|
ewmh_update_net_client_list(c->phys_screen);
|
||||||
|
|
Loading…
Reference in New Issue