diff options
author | nicm <nicm> | 2020-04-18 21:35:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-18 21:35:32 +0000 |
commit | 62ff5e4b010a9db695c79593d20ac92b0aed9558 (patch) | |
tree | d62716ed01f539d0a353a1254174f5c84b8f3906 /screen-redraw.c | |
parent | 100db552d16164648e269aeb45fd87f7a39d9c11 (diff) | |
download | rtmux-62ff5e4b010a9db695c79593d20ac92b0aed9558.tar.gz rtmux-62ff5e4b010a9db695c79593d20ac92b0aed9558.tar.bz2 rtmux-62ff5e4b010a9db695c79593d20ac92b0aed9558.zip |
The PANE_REDRAW flag bit might be needed by other panes so we can't
clear it on the first redraw, and it can't be set when we are finished
or they would be redrawn again, so if the redraw is deferred for a
client, copy the redraw flag into a separate set of bits just for that
client.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 4c017706..c9e70590 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -474,7 +474,6 @@ screen_redraw_pane(struct client *c, struct window_pane *wp) tty_sync_start(&c->tty); screen_redraw_draw_pane(&ctx, wp); - wp->flags &= ~PANE_REDRAW; tty_reset(&c->tty); tty_sync_end(&c->tty); @@ -564,7 +563,6 @@ screen_redraw_draw_panes(struct screen_redraw_ctx *ctx) TAILQ_FOREACH(wp, &w->panes, entry) { if (window_pane_visible(wp)) screen_redraw_draw_pane(ctx, wp); - wp->flags &= ~PANE_REDRAW; } } |