From 7eed74b814d597fe866476efd80c0b081e98a773 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 19 Nov 2015 20:11:42 +0100 Subject: [PATCH] Fix multiple tasklists on the same screen (#563) The code already tried to handle this correctly, but at some point it used the wrong variable as the screen number... Signed-off-by: Uli Schlachter --- lib/awful/widget/tasklist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/widget/tasklist.lua b/lib/awful/widget/tasklist.lua index 294f0305..a7e9e9a8 100644 --- a/lib/awful/widget/tasklist.lua +++ b/lib/awful/widget/tasklist.lua @@ -225,7 +225,7 @@ function tasklist.new(screen, filter, buttons, style, update_function, base_widg capi.client.connect_signal("unfocus", u) end w._do_tasklist_update() - local list = instances[s] + local list = instances[screen] if not list then list = setmetatable({}, { __mode = "v" }) instances[screen] = list