]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
ratios are floats
[chaz/openbox] / openbox / client.c
index c6945d231c89216bbf8ff2ae74b29504d59e180a..89b7024ce0fab5529c573bae53556d0b2fd6e146 100644 (file)
@@ -2734,7 +2734,8 @@ void client_try_configure(ObClient *self, gint *x, gint *y, gint *w, gint *h,
     /* work within the prefered sizes given by the window */
     if (!(*w == self->area.width && *h == self->area.height)) {
         gint basew, baseh, minw, minh;
-        gint incw, inch, minratio, maxratio;
+        gint incw, inch;
+        gfloat minratio, maxratio;
 
         incw = self->fullscreen || self->max_horz ? 1 : self->size_inc.width;
         inch = self->fullscreen || self->max_vert ? 1 : self->size_inc.height;
This page took 0.023899 seconds and 4 git commands to generate.