diff options
author | nicm <nicm> | 2018-08-19 16:45:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-08-19 16:45:03 +0000 |
commit | 88327c7698fc45a16d1a5235d71a078d419febb4 (patch) | |
tree | 174a1dad71f2dd7a08e0d181b48317c134c454dc /tty.c | |
parent | bd2896b65e8fd205e3207ed70558d9ebfd106909 (diff) | |
download | rtmux-88327c7698fc45a16d1a5235d71a078d419febb4.tar.gz rtmux-88327c7698fc45a16d1a5235d71a078d419febb4.tar.bz2 rtmux-88327c7698fc45a16d1a5235d71a078d419febb4.zip |
Add a client redraw-window flag instead of the redraw-all flag and for
all just use the three flags together (window, borders, status).
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -179,7 +179,7 @@ tty_timer_callback(__unused int fd, __unused short events, void *data) log_debug("%s: %zu discarded", c->name, tty->discarded); - c->flags |= CLIENT_REDRAW; + c->flags |= CLIENT_ALLREDRAWFLAGS; c->discarded += tty->discarded; if (tty->discarded < TTY_BLOCK_STOP(tty)) { @@ -1049,7 +1049,7 @@ tty_client_ready(struct client *c, struct window_pane *wp) { if (c->session == NULL || c->tty.term == NULL) return (0); - if (c->flags & (CLIENT_REDRAW|CLIENT_SUSPENDED)) + if (c->flags & (CLIENT_REDRAWWINDOW|CLIENT_SUSPENDED)) return (0); if (c->tty.flags & TTY_FREEZE) return (0); |