summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-24 00:02:51 +0000
committerDana Jansens <danakj@orodu.net>2007-04-24 00:02:51 +0000
commit268c87ed9ebd9ce7c2ca0fe88eba79942786693d (patch)
tree98057c065db40bbbe4e2d0a523935b0c1bd201a7
parent5316bc6c3e3329dc620cfd15d472ed5d376100f8 (diff)
in shrinking resize the frame before the client
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index f5335c79..08d316c4 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -2448,8 +2448,8 @@ void client_configure_full(ObClient *self, ObCorner anchor,
/* if the client is shrinking, then resize the frame before the client */
if (send_resize_client && (!user || (w <= oldw || h <= oldh))) {
- XResizeWindow(ob_display, self->window, w, h);
frame_adjust_client_area(self->frame);
+ XResizeWindow(ob_display, self->window, w, h);
}
XFlush(ob_display);