From d0dc447dd5457670ee43ccc5a018db0b119e922d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 26 Oct 2016 16:20:34 +0200 Subject: [PATCH] Emit screen::arrange signal outside of arrange_lock (#1191) This will handle changes in the layout recursively, e.g. when changing the border_width of clients. Ref: https://github.com/awesomeWM/awesome/issues/171#issuecomment-256146578 --- lib/awful/layout/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/layout/init.lua b/lib/awful/layout/init.lua index 77b352d7..1718bcb8 100644 --- a/lib/awful/layout/init.lua +++ b/lib/awful/layout/init.lua @@ -190,10 +190,10 @@ function layout.arrange(screen) g.y = g.y + useless_gap c:geometry(g) end - screen:emit_signal("arrange") - arrange_lock = false delayed_arrange[screen] = nil + + screen:emit_signal("arrange") end) end