From cace930f8c66fd255aea4a10a3e67965c933ebb9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 27 May 2007 14:33:37 +0000 Subject: [PATCH] only need to call xconfigurewindow once --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2