diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-12 19:07:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-12 19:07:02 +0000 |
| commit | 9b5cf4bacf95e93f9f10c7ddc89da03e4908af7c (patch) | |
| tree | 890023b0f2f9eef7a0a34dea439037360e8fec6e /openbox/client.c | |
| parent | 8f2e3f5fe16aeb0324aa5ee2b2c30a83ec724ad0 (diff) | |
ratios are floats
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index c6945d23..89b7024c 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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; |
