From 2647e1c8558a6ec045a3b3a91dafc0b974e65e82 Mon Sep 17 00:00:00 2001 From: PlayerNameHere Date: Sun, 27 Sep 2020 23:58:22 +0800 Subject: [PATCH] Fix emitted signals in wibox.layout.stack:set_horizontal_offset() --- lib/wibox/layout/stack.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wibox/layout/stack.lua b/lib/wibox/layout/stack.lua index 4b5a9c5b..792e47b1 100644 --- a/lib/wibox/layout/stack.lua +++ b/lib/wibox/layout/stack.lua @@ -170,8 +170,8 @@ end function stack:set_horizontal_offset(value) self._private.h_offset = value - self:emit_signal("widget::horizontal_offset") - self:emit_signal("property::top_only", value) + self:emit_signal("widget::layout_changed") + self:emit_signal("property::horizontal_offset", value) end function stack:set_vertical_offset(value)