awful.client: register property windowfact and floating for arrange

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-05-18 17:13:00 +02:00
parent afbf72fc49
commit 5922eb1fc1
2 changed files with 2 additions and 3 deletions

View File

@ -566,7 +566,6 @@ function floating.set(c, s)
c:geometry(property.get(c, "floating_geometry"))
end
c.screen = screen
capi.hooks.arrange()(c.screen)
end
end
@ -772,7 +771,6 @@ function incwfact(add, c)
-- keep our ratios normalized
normalize(colfact, w.num)
capi.hooks.arrange()(t.screen)
end
--- Get a client dockable state.

View File

@ -109,7 +109,8 @@ hooks.property.register(function (obj, prop)
or prop == "maximized_vertical"
or prop == "border_width"
or prop == "hide"
or prop == "titlebar" then
or prop == "titlebar"
or prop == "floating" then
on_arrange(obj.screen)
elseif prop == "screen" then
-- If prop is screen, we do not know what was the previous screen, so