diff --git a/lib/awful/widget/tasklist.lua b/lib/awful/widget/tasklist.lua index 294f0305e..a7e9e9a89 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