diff --git a/objects/tag.c b/objects/tag.c index 45624d7b0..b9e76de88 100644 --- a/objects/tag.c +++ b/objects/tag.c @@ -178,6 +178,7 @@ */ #include "tag.h" +#include "screen.h" #include "banning.h" #include "client.h" #include "ewmh.h" @@ -277,6 +278,8 @@ tag_view(lua_State *L, int udx, bool view) { tag->selected = view; banning_need_update(); + foreach(screen, globalconf.screens) + screen_update_workarea(*screen); luaA_object_emit_signal(L, udx, "property::selected", 0); }