Fix wrong variable in awful.widget.taglist

There is no "s" variable. This code wants "screen" instead. The effect of this
typo was that with multiple taglists, only the one that was created last got
updated.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-02-07 15:06:54 +01:00
parent b01f480431
commit c7aed3bd88
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ function taglist.new(screen, filter, buttons, style, update_function, base_widge
capi.client.connect_signal("unmanage", uc) capi.client.connect_signal("unmanage", uc)
end end
w._do_taglist_update() w._do_taglist_update()
local list = instances[s] local list = instances[screen]
if not list then if not list then
list = setmetatable({}, { __mode = "v" }) list = setmetatable({}, { __mode = "v" })
instances[screen] = list instances[screen] = list