From 6ef4b8e74198d41cf4b86e499ea76dab75d798fa Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 10 Nov 2007 10:12:50 +0100 Subject: [PATCH] really update coords on resize --- client.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/client.c b/client.c index c99e7a2a..e79f5072 100644 --- a/client.c +++ b/client.c @@ -442,11 +442,8 @@ client_resize(Client *c, int x, int y, int w, int h, awesome_config *awesomeconf { c->rx = c->x; c->ry = c->y; - if (c->w != w || c->h != h) - { - c->rw = c->w; - c->rh = c->h; - } + c->rw = c->w; + c->rh = c->h; } wc.border_width = c->border; XConfigureWindow(c->display, c->win, CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc);