From 1fab3aa745efb62aa41bb04e24242e75816d0a17 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 6 Oct 2010 19:46:47 +0200 Subject: [PATCH] wibox.layout.align: Bugfix It didn't correctly attach to its second and third widget's widget::updated signal. Signed-off-by: Uli Schlachter --- lib/wibox/layout/align.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wibox/layout/align.lua.in b/lib/wibox/layout/align.lua.in index b2e95ec2d..a3c756191 100644 --- a/lib/wibox/layout/align.lua.in +++ b/lib/wibox/layout/align.lua.in @@ -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