diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-09-26 16:42:29 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-09-26 16:42:29 +0100 |
commit | 04c6db2d0f7bca4bc6b31afd5a5cb4512b5f915b (patch) | |
tree | c3e4ea877e549018ab5205fd431c2b48f35435c7 /tty.c | |
parent | 6abb62df1e492672a552f89b9188fe3bf0750b5c (diff) | |
download | rtmux-04c6db2d0f7bca4bc6b31afd5a5cb4512b5f915b.tar.gz rtmux-04c6db2d0f7bca4bc6b31afd5a5cb4512b5f915b.tar.bz2 rtmux-04c6db2d0f7bca4bc6b31afd5a5cb4512b5f915b.zip |
Revert "Add a B flag to mark windows bigger than the client."
This reverts commit b4e74f4310d90affd4e1a4a7328082ac4beb5461.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -701,9 +701,10 @@ tty_repeat_space(struct tty *tty, u_int n) /* Is this window bigger than the terminal? */ int -tty_window_bigger(struct tty *tty, struct window *w) +tty_window_bigger(struct tty *tty) { struct client *c = tty->client; + struct window *w = c->session->curw->window; return (tty->sx < w->sx || tty->sy - status_line_size(c) < w->sy); } |