diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-09-25 09:54:47 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-09-25 09:54:47 +0100 |
commit | b4e74f4310d90affd4e1a4a7328082ac4beb5461 (patch) | |
tree | 4fd6e6e2e2a371a24a6e375d20c9ca2fbfbefa07 /tty.c | |
parent | 26d73a7736bf6c8560f90c7ae75963a02b4c9ba9 (diff) | |
download | rtmux-b4e74f4310d90affd4e1a4a7328082ac4beb5461.tar.gz rtmux-b4e74f4310d90affd4e1a4a7328082ac4beb5461.tar.bz2 rtmux-b4e74f4310d90affd4e1a4a7328082ac4beb5461.zip |
Add a B flag to mark windows bigger than the client.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -701,11 +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) +tty_window_bigger(struct tty *tty, struct window *w) { struct client *c = tty->client; struct session *s = c->session; - struct window *w = s->curw->window; return (tty->sx < w->sx || tty->sy - status_line_size(c) < w->sy); } |