summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-08 22:37:31 +0000
committerDana Jansens <danakj@orodu.net>2003-06-08 22:37:31 +0000
commit07539c38c8392e5ce5ad0912e0c4ecf7982cb07a (patch)
treeca6dff488d1860251b7662922c6486104d48fa2f
parent43d109dd062483154f00712a23b00494b0a13355 (diff)
more checks for when to do an XResizeWindow
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 6d5893e2..b7800a5e 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1761,7 +1761,8 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
RECT_SET(self->area, x, y, w, h);
- if (final || (resized && config_opaque_resize))
+ if ((!user && resized) ||
+ (user && (final || (resized && config_opaque_resize))))
XResizeWindow(ob_display, self->window, w, h);
/* move/resize the frame to match the request */