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:
parent
d07fc822a1
commit
d0dc447dd5
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue