From 8d2c986936104cb70801aed5ddf5abaa692d9db7 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 23 Nov 2019 15:34:28 +0100 Subject: [PATCH] Emit property::screen in tag:delete() Before this commit, the code directly modified the table where the tag's properties were saved. This commit changes the code to call awful.tag.setproperty() instead. This function ensures that property::screen is now also emitted. Signed-off-by: Uli Schlachter --- lib/awful/tag.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/tag.lua b/lib/awful/tag.lua index 557fadb9..0d886704 100644 --- a/lib/awful/tag.lua +++ b/lib/awful/tag.lua @@ -402,7 +402,7 @@ function tag.object.delete(self, fallback_tag, force) end -- delete the tag - self._private.awful_tag_properties.screen = nil + tag.setproperty(self, "screen", nil) self.activated = false -- Update all indexes