summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-27 14:33:37 +0000
committerDana Jansens <danakj@orodu.net>2007-05-27 14:33:37 +0000
commitcace930f8c66fd255aea4a10a3e67965c933ebb9 (patch)
treece79eda553530692eb1b74bda2f8832b35784e51
parent10002eaa2738a4c3bba86f082a483d5c4138adc7 (diff)
only need to call xconfigurewindow once
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
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);