diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index 7353daa9c..97a424708 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -154,6 +154,7 @@ function tag.delete(target_tag, fallback_tag) -- delete the tag data.tags[target_tag].screen = nil + target_tag.activated = false -- If no tags are visible, try and view one. if tag.selected(target_scr) == nil and ntags > 0 then