]> Dogcows Code - chaz/openbox/commitdiff
wasted checked, configure will do them for us
authorDana Jansens <danakj@orodu.net>
Tue, 29 May 2007 00:04:07 +0000 (00:04 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 29 May 2007 00:04:07 +0000 (00:04 +0000)
openbox/client.c

index a2f69d18464b211da0fa31bdaa8becbc95e0aebb..0701d3fa3b7d40c616a085b4bd2829e8cbe98efc 100644 (file)
@@ -429,12 +429,8 @@ void client_manage(Window window)
 
         /* fit the window inside the area */
         if (placew > a.width || self->area.height > a.height) {
-            placew = MAX(MIN(MIN(self->area.width, a.width),
-                             self->max_size.width),
-                         self->min_size.width);
-            placeh = MAX(MIN(MIN(self->area.height, a.height),
-                             self->max_size.height),
-                         self->min_size.height);
+            placew = MIN(self->area.width, a.width);
+            placeh = MIN(self->area.height, a.height);
 
             ob_debug("setting window size to %dx%d\n",
                      self->area.width, self->area.height);
This page took 0.034337 seconds and 4 git commands to generate.