aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2018-09-26 16:42:29 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2018-09-26 16:42:29 +0100
commit04c6db2d0f7bca4bc6b31afd5a5cb4512b5f915b (patch)
treec3e4ea877e549018ab5205fd431c2b48f35435c7 /tty.c
parent6abb62df1e492672a552f89b9188fe3bf0750b5c (diff)
downloadrtmux-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 00f58d1c..7e52755c 100644
--- a/tty.c
+++ b/tty.c
@@ -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);
}