all repos — openbox @ f346738173cc353dd86c1f3b6806f41d99aade3b

openbox fork - make it a bit more like ryudo

attempt #2 at better logical size values
Dana Jansens danakj@orodu.net
commit

f346738173cc353dd86c1f3b6806f41d99aade3b

parent

0a809d36dd770aae300a19d841fa7958cbe67628

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

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

@@ -1791,8 +1791,8 @@ if (baseh + h < 1) h = 1 - baseh;

/* store the logical size */ SIZE_SET(self->logical_size, - self->size_inc.width ? w : w + basew, - self->size_inc.height ? h : h + baseh); + self->size_inc.width == 1 ? w : w + basew, + self->size_inc.height == 1 ? h : h + baseh); w *= self->size_inc.width; h *= self->size_inc.height;