diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-04 12:01:28 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-04 12:01:28 +0000 |
commit | 9ebd63067534695447cb751733792eb2facd0bb6 (patch) | |
tree | 33f6c8c8d8bfe2fcfe30ff527e26cfa7a44a4891 | |
parent | d5c837904b3201271826c7377781a73421db09fb (diff) | |
parent | 5cdd578906985c7abb9d1bba39384e201dada10e (diff) | |
download | rtmux-9ebd63067534695447cb751733792eb2facd0bb6.tar.gz rtmux-9ebd63067534695447cb751733792eb2facd0bb6.tar.bz2 rtmux-9ebd63067534695447cb751733792eb2facd0bb6.zip |
Merge branch 'obsd-master'
-rw-r--r-- | resize.c | 2 | ||||
-rw-r--r-- | tty.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -188,7 +188,7 @@ recalculate_sizes(void) type = options_get_number(w->options, "window-size"); if (type == WINDOW_SIZE_MANUAL) continue; - current = !options_get_number(w->options, "aggressive-resize"); + current = options_get_number(w->options, "aggressive-resize"); changed = 1; if (type == WINDOW_SIZE_LARGEST) { @@ -807,6 +807,9 @@ tty_update_client_offset(struct client *c) { u_int ox, oy, sx, sy; + if (~c->flags & CLIENT_TERMINAL) + return; + c->tty.oflag = tty_window_offset1(&c->tty, &ox, &oy, &sx, &sy); if (ox == c->tty.oox && oy == c->tty.ooy && |