dont allow resizing < 1 (based on increments)
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/client.cc
→
src/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);