Fix regression introduced by 7e2f59d851437d68c47b5827644eba117c0e7b82
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3ea5fd79d8
commit
dd71f55469
3
client.c
3
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)
|
||||
|
|
Loading…
Reference in New Issue