client: border_width does not set need_arrange
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a8300f635d
commit
a7b6c6bbd7
2
client.c
2
client.c
|
@ -1181,8 +1181,6 @@ client_setborder(client_t *c, int width)
|
||||||
|
|
||||||
c->geometry.width += 2 * c->border;
|
c->geometry.width += 2 * c->border;
|
||||||
c->geometry.height += 2 * c->border;
|
c->geometry.height += 2 * c->border;
|
||||||
/* Tiled clients will be resized by the layout functions. */
|
|
||||||
client_need_arrange(c);
|
|
||||||
|
|
||||||
/* Changing border size also affects the size of the titlebar. */
|
/* Changing border size also affects the size of the titlebar. */
|
||||||
titlebar_update_geometry(c);
|
titlebar_update_geometry(c);
|
||||||
|
|
|
@ -100,7 +100,8 @@ hooks.property.register(function (c, prop)
|
||||||
or prop == "sticky"
|
or prop == "sticky"
|
||||||
or prop == "fullscreen"
|
or prop == "fullscreen"
|
||||||
or prop == "maximized_horizontal"
|
or prop == "maximized_horizontal"
|
||||||
or prop == "maximized_vertical" then
|
or prop == "maximized_vertical"
|
||||||
|
or prop == "border_width" then
|
||||||
on_arrange(c.screen)
|
on_arrange(c.screen)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue