Changing floating geometry is bad
This commit is contained in:
parent
466ed47c2a
commit
850145f994
8
client.c
8
client.c
|
@ -566,14 +566,8 @@ client_resize(Client *c, area_t geometry, Bool hints)
|
||||||
|| layout_get_current(new_screen)->arrange == layout_floating)
|
|| layout_get_current(new_screen)->arrange == layout_floating)
|
||||||
{
|
{
|
||||||
if(!c->ismax)
|
if(!c->ismax)
|
||||||
{
|
|
||||||
c->f_geometry = geometry;
|
c->f_geometry = geometry;
|
||||||
geometry = titlebar_update_geometry(c, geometry);
|
titlebar_update_geometry_floating(c);
|
||||||
wc.x = geometry.x;
|
|
||||||
wc.y = geometry.y;
|
|
||||||
wc.width = geometry.width;
|
|
||||||
wc.height = geometry.height;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
XConfigureWindow(globalconf.display, c->win,
|
XConfigureWindow(globalconf.display, c->win,
|
||||||
|
|
Loading…
Reference in New Issue