]> Dogcows Code - chaz/openbox/commitdiff
describe the complicated if a bit :)
authorDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 22:38:31 +0000 (22:38 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 8 Jun 2003 22:38:31 +0000 (22:38 +0000)
openbox/client.c

index b7800a5ecf3634261f9ce078fe946aa4642accf3..13cd7258c3db27ca439b1d00f8d394b0ef8047d7 100644 (file)
@@ -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);
This page took 0.029182 seconds and 4 git commands to generate.