Mark a bug in awful.widget.common as such

No idea what the correct value for this argument is supposed to be, but since
there is no variable "m" in scope, this always uses nil as the value.

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

View File

@ -95,7 +95,8 @@ function common.list_update(w, buttons, label, data, objects)
end
bgb:set_bg(bg)
if type(bg_image) == "function" then
bg_image = bg_image(tb,o,m,objects,i)
-- TODO: Why does this pass nil as an argument?
bg_image = bg_image(tb,o,nil,objects,i)
end
bgb:set_bgimage(bg_image)
if icon then