From abb36c369755d718ef7d74eada7c6e62aad73797 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 28 Aug 2016 19:04:09 -0400 Subject: [PATCH] tag: Restore the history on the right screen when deleting. --- 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 5a4e1810..560e6bab 100644 --- a/lib/awful/tag.lua +++ b/lib/awful/tag.lua @@ -312,7 +312,7 @@ function tag.object.delete(self, fallback_tag, force) -- view one. The > 1 is because ntags is no longer synchronized with the -- current count. if target_scr.selected_tag == nil and ntags > 1 then - tag.history.restore(nil, 1) + tag.history.restore(target_scr, 1) if target_scr.selected_tag == nil then local other_tag = tags[tags[1] == self and 2 or 1] if other_tag then