From: Dana Jansens Date: Sun, 8 Jun 2003 22:38:31 +0000 (+0000) Subject: describe the complicated if a bit :) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7cbac3c4d5ea86e673d7b51f74eeaba91b8bd72b;p=chaz%2Fopenbox describe the complicated if a bit :) --- diff --git a/openbox/client.c b/openbox/client.c index b7800a5e..13cd7258 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1761,6 +1761,9 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h, RECT_SET(self->area, x, y, w, h); + /* for app-requested resizes, always resize if 'resized' is true. + for user-requested ones, only resize if final is true, or when + resizing in opaque mode */ if ((!user && resized) || (user && (final || (resized && config_opaque_resize)))) XResizeWindow(ob_display, self->window, w, h);