From 7cbac3c4d5ea86e673d7b51f74eeaba91b8bd72b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 8 Jun 2003 22:38:31 +0000 Subject: [PATCH] describe the complicated if a bit :) --- openbox/client.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2