X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=e63f78678018361bd346a493d32cfd9408fc1be7;hb=19e48200739dc95f9b0079a25849e7e06c99302c;hp=ab37bb65349b2dd61a8e3e8314add5211b84a92a;hpb=abde4bc153b0b79b770506e2e35e36fcb1e32dc3;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index ab37bb65..e63f7867 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1960,7 +1960,7 @@ void client_configure_full(ObClient *self, ObCorner anchor, (resized && config_redraw_resize)))); /* if the client is enlarging, the resize the client before the frame */ - if (!user || (send_resize_client && (w > oldw || h > oldh))) + if (send_resize_client && user && (w > oldw || h > oldh)) XResizeWindow(ob_display, self->window, MAX(w, oldw), MAX(h, oldh)); /* move/resize the frame to match the request */ @@ -1995,7 +1995,7 @@ void client_configure_full(ObClient *self, ObCorner anchor, } /* if the client is shrinking, then resize the frame before the client */ - if (user && (send_resize_client && (w <= oldw || h <= oldh))) + if (send_resize_client && (!user || (w <= oldw || h <= oldh))) XResizeWindow(ob_display, self->window, w, h); XFlush(ob_display);