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:
parent
b01f480431
commit
c7aed3bd88
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue