From a7b6c6bbd765ba783318f66444a7675a52d013cb Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 17 Apr 2009 23:48:35 +0200 Subject: [PATCH] client: border_width does not set need_arrange Signed-off-by: Julien Danjou --- client.c | 2 -- lib/awful/layout/init.lua.in | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client.c b/client.c index c301e9ea..bd3a5dd6 100644 --- a/client.c +++ b/client.c @@ -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); diff --git a/lib/awful/layout/init.lua.in b/lib/awful/layout/init.lua.in index 3b0c7013..d673f5c2 100644 --- a/lib/awful/layout/init.lua.in +++ b/lib/awful/layout/init.lua.in @@ -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)