From 93e137eaab4b81fefd5ec8e35b554029acfc829f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 11 Jan 2008 16:44:24 +0100 Subject: [PATCH] invalidate cache --- client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client.c b/client.c index efe94699..ed528a1f 100644 --- a/client.c +++ b/client.c @@ -419,16 +419,16 @@ client_manage(Window w, XWindowAttributes *wa, int screen) client_attach_at_end(c); } + ewmh_update_net_client_list(phys_screen); + /* some windows require this */ XMoveResizeWindow(globalconf.display, c->win, c->geometry.x, c->geometry.y, c->geometry.width, c->geometry.height); if(globalconf.screens[c->screen].new_get_focus) focus(c, True, screen); - else - widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS); - - ewmh_update_net_client_list(phys_screen); + + widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS); /* rearrange to display new window */ arrange(c->screen);