mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
wibox.layout.align: Bugfix
It didn't correctly attach to its second and third widget's widget::updated signal. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
27d448bc97
commit
1fab3aa745
1 changed files with 2 additions and 2 deletions
|
@ -80,13 +80,13 @@ end
|
|||
|
||||
--- Set the layout's second widget. This is the centered one.
|
||||
function set_second(layout, widget)
|
||||
widget_changed(layout, widget)
|
||||
widget_changed(layout, layout.second, widget)
|
||||
layout.second = widget
|
||||
end
|
||||
|
||||
--- Set the layout's third widget. This is the widget that is at the right/bottom
|
||||
function set_third(layout, widget)
|
||||
widget_changed(layout, widget)
|
||||
widget_changed(layout, layout.third, widget)
|
||||
layout.third = widget
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue