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
This commit is contained in:
Daniel Hahler 2016-10-26 16:20:34 +02:00 committed by GitHub
parent d07fc822a1
commit d0dc447dd5
1 changed files with 2 additions and 2 deletions

View File

@ -190,10 +190,10 @@ function layout.arrange(screen)
g.y = g.y + useless_gap g.y = g.y + useless_gap
c:geometry(g) c:geometry(g)
end end
screen:emit_signal("arrange")
arrange_lock = false arrange_lock = false
delayed_arrange[screen] = nil delayed_arrange[screen] = nil
screen:emit_signal("arrange")
end) end)
end end