]> Dogcows Code - chaz/openbox/commitdiff
in shrinking resize the frame before the client
authorDana Jansens <danakj@orodu.net>
Tue, 24 Apr 2007 00:02:51 +0000 (00:02 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Apr 2007 00:02:51 +0000 (00:02 +0000)
openbox/client.c

index f5335c79a105e042584ff8c05b753b422db1a13f..08d316c49d67da9448ccc4e10105b33b57b1470a 100644 (file)
@@ -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);
This page took 0.026785 seconds and 4 git commands to generate.