awful.client: register property windowfact and floating for arrange
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
afbf72fc49
commit
5922eb1fc1
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue