client: border_width does not set need_arrange

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-17 23:48:35 +02:00
parent a8300f635d
commit a7b6c6bbd7
2 changed files with 2 additions and 3 deletions

View File

@ -1181,8 +1181,6 @@ client_setborder(client_t *c, int width)
c->geometry.width += 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. */
titlebar_update_geometry(c);

View File

@ -100,7 +100,8 @@ hooks.property.register(function (c, prop)
or prop == "sticky"
or prop == "fullscreen"
or prop == "maximized_horizontal"
or prop == "maximized_vertical" then
or prop == "maximized_vertical"
or prop == "border_width" then
on_arrange(c.screen)
end
end)