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

View File

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