From 28709c282e8be2fccc538565d42fd3bf2ef3073e Mon Sep 17 00:00:00 2001 From: Drauthius Date: Sat, 25 Feb 2017 16:07:36 +0100 Subject: [PATCH] Corrected selected check in awful.tag.set_screen() Previously it would check if the awful.tag.selected function existed, and not whether the tag was actually selected. --- 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 66bd0c10..b481f421 100644 --- a/lib/awful/tag.lua +++ b/lib/awful/tag.lua @@ -475,7 +475,7 @@ end function tag.object.set_screen(t, s) s = get_screen(s or ascreen.focused()) - local sel = tag.selected + local sel = t.selected local old_screen = get_screen(tag.getproperty(t, "screen")) if s == old_screen then return end