From: Dana Jansens Date: Sun, 27 May 2007 14:33:37 +0000 (+0000) Subject: only need to call xconfigurewindow once X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cace930f8c66fd255aea4a10a3e67965c933ebb9;p=chaz%2Fopenbox only need to call xconfigurewindow once --- diff --git a/openbox/client.c b/openbox/client.c index 148bc649..146b0bf5 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2879,7 +2879,7 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h, gint b, } /* if the client is shrinking, then resize the frame before the client */ - if (send_resize_client && (w <= oldw || h <= oldh)) { + if (send_resize_client && (w <= oldw && h <= oldh)) { /* resize the plate to show the client padding color underneath */ frame_adjust_client_area(self->frame);