[client] Invalidate cache when swapping

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-03 11:53:38 +02:00
parent 78dd0b8620
commit 5daa3c6478
1 changed files with 2 additions and 0 deletions

View File

@ -862,6 +862,7 @@ uicb_client_swapprev(int screen __attribute__ ((unused)), char *arg __attribute_
{
client_list_swap(&globalconf.clients, prev, globalconf.focus->client);
globalconf.screens[prev->screen].need_arrange = True;
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
}
}
@ -879,6 +880,7 @@ uicb_client_swapnext(int screen __attribute__ ((unused)), char *arg __attribute_
{
client_list_swap(&globalconf.clients, globalconf.focus->client, next);
globalconf.screens[next->screen].need_arrange = True;
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
}
}