all repos — openbox @ 9b5cf4bacf95e93f9f10c7ddc89da03e4908af7c

openbox fork - make it a bit more like ryudo

ratios are floats
Dana Jansens danakj@orodu.net
commit

9b5cf4bacf95e93f9f10c7ddc89da03e4908af7c

parent

8f2e3f5fe16aeb0324aa5ee2b2c30a83ec724ad0

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2734,7 +2734,8 @@

/* 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;