[client] Push client on stack list on manage

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-25 19:47:19 +02:00
parent c81dacf091
commit 93741f6b91
1 changed files with 2 additions and 0 deletions

View File

@ -413,6 +413,8 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int screen)
client_list_push(&globalconf.clients, c);
/* Append client in history: it'll be last. */
focus_client_append(c);
/* Push client in stack */
stack_client_push(c);
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
ewmh_update_net_client_list(c->phys_screen);