[client] Fix for 'invalidate' cache when swapping
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5daa3c6478
commit
24d2e200af
4
client.c
4
client.c
|
@ -862,7 +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);
|
||||
widget_invalidate_cache(prev->screen, WIDGET_CACHE_CLIENTS);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -880,7 +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);
|
||||
widget_invalidate_cache(next->screen, WIDGET_CACHE_CLIENTS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue