awesome/lib/wibox
Lucas Schwiderski 7bc3ec4c35
Fix composite widgets with top level container
When wrapping container widgets to create reusable composite widgets,
`drill` will be called twice on the same widget definition. The first
call happens within the wrapping function and applies the children
widgets fine. The second call happens when the composite widget is used,
but since there are no children widgets defined, the call to
`set_children` sets the existing child to `nil` instead.

Fixes #3213.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-03-11 12:32:28 +01:00
..
container wibox.container.margin: Allow nonnegative dimensions 2019-12-27 12:36:54 +01:00
layout Fix setters/getters for grid layout direction properties 2020-10-10 17:32:04 +02:00
widget Fix composite widgets with top level container 2021-03-11 12:32:28 +01:00
drawable.lua titlebar/wibox: Support widget definition in set_widget. 2019-10-05 22:57:04 -04:00
hierarchy.lua wibox.hierarchy:draw: Clear paths after .draw (#2805) 2019-07-03 16:55:38 -04:00
init.lua fix wibox declarative opacity 2020-04-26 17:36:36 +02:00