summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c3
1 files changed, 3 insertions, 0 deletions
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);