wibox: Add the wibox reference to `find_widgets`
This is necessary to compute the widget real position on screen because it's the only way to know the border_width offset.
This commit is contained in:
parent
d8a7782bf4
commit
7d6f52c4dc
|
@ -253,6 +253,10 @@ local function new(args)
|
|||
ret._drawable = wibox.drawable(w.drawable, { wibox = ret },
|
||||
"wibox drawable (" .. object.modulename(3) .. ")")
|
||||
|
||||
function ret._drawable.get_wibox()
|
||||
return ret
|
||||
end
|
||||
|
||||
ret._drawable:_inform_visible(w.visible)
|
||||
w:connect_signal("property::visible", function()
|
||||
ret._drawable:_inform_visible(w.visible)
|
||||
|
|
Loading…
Reference in New Issue