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
|
||||
if not extra_arg2 then
|
||||
xpcall(function()
|
||||
func(widget, arg, cr, self:get_size())
|
||||
func(widget, context, cr, self:get_size())
|
||||
end, error_function)
|
||||
else
|
||||
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
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue