Fix wibox.hierarchy:draw()
This accidentally called the draw callbacks with a nil argument instead of the context. This was introduced in some badly done rebase, sorry! :-( Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
ee001ce2f0
commit
5e577a10ab
|
@ -214,11 +214,11 @@ function hierarchy:draw(context, cr)
|
||||||
end
|
end
|
||||||
if not extra_arg2 then
|
if not extra_arg2 then
|
||||||
xpcall(function()
|
xpcall(function()
|
||||||
func(widget, arg, cr, self:get_size())
|
func(widget, context, cr, self:get_size())
|
||||||
end, error_function)
|
end, error_function)
|
||||||
else
|
else
|
||||||
xpcall(function()
|
xpcall(function()
|
||||||
func(widget, arg, extra_arg1, extra_arg2, cr, self:get_size())
|
func(widget, context, extra_arg1, extra_arg2, cr, self:get_size())
|
||||||
end, error_function)
|
end, error_function)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue