all repos — openbox @ a8e98570cc32fc4b9015927acef4a24c015f799e

openbox fork - make it a bit more like ryudo

dont allow resizing < 1 (based on increments)
Dana Jansens danakj@orodu.net
commit

a8e98570cc32fc4b9015927acef4a24c015f799e

parent

8eed9d643c9cde6cba0c948aa5fa6756ed1b5d97

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

jump to
M src/client.ccsrc/client.cc

@@ -968,6 +968,10 @@ // keep to the increments

w /= _size_inc.x(); h /= _size_inc.y(); + // you cannot resize to nothing + if (w < 1) w = 1; + if (h < 1) h = 1; + // store the logical size _logical_size.setPoint(w, h);