[client] Save geometry of windows when resizing in floating layout

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Fabienne Ducroquet 2008-05-25 08:25:51 +02:00 committed by Julien Danjou
parent 9d99ff48ae
commit 1d8481fc9e
1 changed files with 3 additions and 0 deletions

View File

@ -534,7 +534,10 @@ client_resize(client_t *c, area_t geometry, bool hints)
* maximized */ * maximized */
if(c->ismoving || c->isfloating if(c->ismoving || c->isfloating
|| layout_get_current(new_screen) == layout_floating) || layout_get_current(new_screen) == layout_floating)
{
titlebar_update_geometry_floating(c); titlebar_update_geometry_floating(c);
c->f_geometry = geometry;
}
xcb_configure_window(globalconf.connection, c->win, xcb_configure_window(globalconf.connection, c->win,
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y |