Fix regression introduced by 7e2f59d851437d68c47b5827644eba117c0e7b82

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-15 16:55:13 +01:00
parent 3ea5fd79d8
commit dd71f55469
1 changed files with 2 additions and 1 deletions

View File

@ -538,6 +538,7 @@ client_resize(Client *c, area_t geometry)
c->geometry.width = wc.width = geometry.width; c->geometry.width = wc.width = geometry.width;
c->geometry.y = wc.y = geometry.y; c->geometry.y = wc.y = geometry.y;
c->geometry.height = wc.height = geometry.height; c->geometry.height = wc.height = geometry.height;
wc.border_width = c->border;
/* save the floating geometry if the window is floating but not /* save the floating geometry if the window is floating but not
* maximized */ * maximized */
@ -550,7 +551,7 @@ client_resize(Client *c, area_t geometry)
} }
XConfigureWindow(globalconf.display, c->win, XConfigureWindow(globalconf.display, c->win,
CWX | CWY | CWWidth | CWHeight, &wc); CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc);
window_configure(c->win, geometry, c->border); window_configure(c->win, geometry, c->border);
if(c->screen != new_screen) if(c->screen != new_screen)