From feb4fb0fbcf173cb4c0767bbd490f866d193ec16 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 31 Dec 2016 15:29:28 +0100 Subject: [PATCH] tag_view: Update screen workarea This partially fixes test-struts.lua. The test now fails at some later part. Fixes: https://github.com/awesomeWM/awesome/issues/1335 Signed-off-by: Uli Schlachter --- objects/tag.c | 3 +++ 1 file changed, 3 insertions(+) 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); }