]> Dogcows Code - chaz/openbox/commitdiff
more checks for when to do an XResizeWindow
authorDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 22:37:31 +0000 (22:37 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 22:37:31 +0000 (22:37 +0000)
openbox/client.c

index 6d5893e244542add42539fe3757cf09a35e7a309..b7800a5ecf3634261f9ce078fe946aa4642accf3 100644 (file)
@@ -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 */
This page took 0.023956 seconds and 4 git commands to generate.