projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f2e3f5
)
ratios are floats
author
Dana Jansens
<danakj@orodu.net>
Tue, 12 Jun 2007 19:07:02 +0000
(19:07 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 12 Jun 2007 19:07:02 +0000
(19:07 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
c6945d2
..
89b7024
100644
(file)
--- 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;