layout: arrange on minimize

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-17 23:46:03 +02:00
parent 14330f6aec
commit ae2d037488

View file

@ -96,7 +96,8 @@ hooks.arrange.register(on_arrange)
hooks.property.register(function (c, prop)
if type(c) == "client" and c:isvisible()
and (prop == "size_hints_honor"
or prop == "struts") then
or prop == "struts"
or prop == "minimized") then
on_arrange(c.screen)
end
end)