Changing floating geometry is bad

This commit is contained in:
Julien Danjou 2008-03-16 16:51:59 +01:00
parent 466ed47c2a
commit 850145f994
1 changed files with 1 additions and 7 deletions

View File

@ -566,14 +566,8 @@ client_resize(Client *c, area_t geometry, Bool hints)
|| layout_get_current(new_screen)->arrange == layout_floating)
{
if(!c->ismax)
{
c->f_geometry = geometry;
geometry = titlebar_update_geometry(c, geometry);
wc.x = geometry.x;
wc.y = geometry.y;
wc.width = geometry.width;
wc.height = geometry.height;
}
titlebar_update_geometry_floating(c);
}
XConfigureWindow(globalconf.display, c->win,