diff options
author | Thomas Adam <thomas@xteddy.org> | 2014-11-12 21:58:05 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2014-11-12 21:58:05 +0000 |
commit | bd803e82e96512473036461ec3832c569768e535 (patch) | |
tree | 85c0c8298e962531d2f3df4b65c150731c425d87 /resize.c | |
parent | fc05bf255af2a39a8168320455f79e7e6d9e915a (diff) | |
parent | f9308bc244bb568fb678effbbb08f8fb277e7560 (diff) | |
download | rtmux-bd803e82e96512473036461ec3832c569768e535.tar.gz rtmux-bd803e82e96512473036461ec3832c569768e535.tar.bz2 rtmux-bd803e82e96512473036461ec3832c569768e535.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,10 +117,10 @@ recalculate_sizes(void) continue; limit = options_get_number(&w->options, "force-width"); - if (limit != 0 && ssx > limit) + if (limit >= PANE_MINIMUM && ssx > limit) ssx = limit; limit = options_get_number(&w->options, "force-height"); - if (limit != 0 && ssy > limit) + if (limit >= PANE_MINIMUM && ssy > limit) ssy = limit; if (w->sx == ssx && w->sy == ssy) |