From 850145f994fabc7ba541b499dcadd1108622db78 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Mar 2008 16:51:59 +0100 Subject: [PATCH] Changing floating geometry is bad --- client.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/client.c b/client.c index b5c00426..c252a3b9 100644 --- a/client.c +++ b/client.c @@ -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,