From 08c893fff9875888fe3b242c410545fb89781663 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Tue, 13 Jul 2021 22:33:32 +0200 Subject: [PATCH] refactor(w.l.fixed): Fix line length Signed-off-by: Lucas Schwiderski --- lib/wibox/layout/fixed.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/wibox/layout/fixed.lua b/lib/wibox/layout/fixed.lua index c8a99fe6..ddb7ab3a 100644 --- a/lib/wibox/layout/fixed.lua +++ b/lib/wibox/layout/fixed.lua @@ -102,8 +102,11 @@ function fixed:layout(context, width, height) -- Add the spacing widget (if needed) if index < widgets_nr and spacing_widget then table.insert(result, base.place_widget_at( - spacing_widget, is_x and (x - spoffset) or x, is_y and (y - spoffset) or y, - is_x and abspace or w, is_y and abspace or h + spacing_widget, + is_x and (x - spoffset) or x, + is_y and (y - spoffset) or y, + is_x and abspace or w, + is_y and abspace or h )) end end