layout: arrange on minimize
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
14330f6aec
commit
ae2d037488
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue