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
1 changed files with 2 additions and 1 deletions

View File

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