From dd71f554697f8cc6179aebaf988276759ab51c1e Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 15 Mar 2008 16:55:13 +0100 Subject: [PATCH] Fix regression introduced by 7e2f59d851437d68c47b5827644eba117c0e7b82 Signed-off-by: Julien Danjou --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index ba637957c..39c52fc59 100644 --- a/client.c +++ b/client.c @@ -538,6 +538,7 @@ client_resize(Client *c, area_t geometry) c->geometry.width = wc.width = geometry.width; c->geometry.y = wc.y = geometry.y; c->geometry.height = wc.height = geometry.height; + wc.border_width = c->border; /* save the floating geometry if the window is floating but not * maximized */ @@ -550,7 +551,7 @@ client_resize(Client *c, area_t geometry) } XConfigureWindow(globalconf.display, c->win, - CWX | CWY | CWWidth | CWHeight, &wc); + CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc); window_configure(c->win, geometry, c->border); if(c->screen != new_screen)