all repos — openbox @ 05c0dbfedf0c525137eaa05c26c5d10c584ec0d5

openbox fork - make it a bit more like ryudo

be paranoid about programs setting 0 resize increments, which results in a divide by zero, which is in turn bad
Mikael Magnusson mikachu@comhem.se
commit

05c0dbfedf0c525137eaa05c26c5d10c584ec0d5

parent

d2fb93e8af7379431b6293361ca48b50275309f2

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

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

@@ -1234,7 +1234,7 @@

if (size.flags & PBaseSize) SIZE_SET(self->base_size, size.base_width, size.base_height); - if (size.flags & PResizeInc) + if (size.flags & PResizeInc && size.width_inc && size_height_inc) SIZE_SET(self->size_inc, size.width_inc, size.height_inc); } }