From 1d8481fc9ee2159f30105d64694113dd0c510101 Mon Sep 17 00:00:00 2001 From: Fabienne Ducroquet Date: Sun, 25 May 2008 08:25:51 +0200 Subject: [PATCH] [client] Save geometry of windows when resizing in floating layout Signed-off-by: Julien Danjou --- client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.c b/client.c index 267a3f46..8b2c6ffa 100644 --- a/client.c +++ b/client.c @@ -534,7 +534,10 @@ client_resize(client_t *c, area_t geometry, bool hints) * maximized */ if(c->ismoving || c->isfloating || layout_get_current(new_screen) == layout_floating) + { titlebar_update_geometry_floating(c); + c->f_geometry = geometry; + } xcb_configure_window(globalconf.connection, c->win, XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y |