screen: invalidate widget cache on move
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
bf451445c3
commit
0ab012a401
4
screen.c
4
screen.c
|
@ -28,6 +28,7 @@
|
|||
#include "tag.h"
|
||||
#include "client.h"
|
||||
#include "statusbar.h"
|
||||
#include "widget.h"
|
||||
#include "layouts/tile.h"
|
||||
|
||||
extern awesome_t globalconf;
|
||||
|
@ -209,6 +210,9 @@ screen_client_moveto(client_t *c, int new_screen, bool dotag, bool doresize)
|
|||
|
||||
c->screen = new_screen;
|
||||
|
||||
widget_invalidate_cache(old_screen, WIDGET_CACHE_CLIENTS);
|
||||
widget_invalidate_cache(new_screen, WIDGET_CACHE_CLIENTS);
|
||||
|
||||
if(dotag && !c->issticky)
|
||||
{
|
||||
/* remove old tags */
|
||||
|
|
Loading…
Reference in New Issue