]> Dogcows Code - chaz/openbox/commitdiff
only need to call xconfigurewindow once
authorDana Jansens <danakj@orodu.net>
Sun, 27 May 2007 14:33:37 +0000 (14:33 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 27 May 2007 14:33:37 +0000 (14:33 +0000)
openbox/client.c

index 148bc6490bea0730f2cc1ceb9a7381eb2eb97e08..146b0bf588b50f2e1f4d3b627012430492419884 100644 (file)
@@ -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);
 
This page took 0.031668 seconds and 4 git commands to generate.