screen: invalidate widget cache on move

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-05 02:08:48 +02:00
parent bf451445c3
commit 0ab012a401
1 changed files with 4 additions and 0 deletions

View File

@ -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 */