aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-18 10:01:31 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-18 10:01:31 +0100
commite1799ed7c8f55a2f4467f45549bee3a058cdcd24 (patch)
tree5ba5eda9d11cb5746d0fe41ee212d21dc189771d /screen-redraw.c
parent349617a818ec8ed0f1cdedac64f5d9126d920f87 (diff)
parentb0a37e7514f2e08a9a8315cc68add4f0a53ed2af (diff)
downloadrtmux-e1799ed7c8f55a2f4467f45549bee3a058cdcd24.tar.gz
rtmux-e1799ed7c8f55a2f4467f45549bee3a058cdcd24.tar.bz2
rtmux-e1799ed7c8f55a2f4467f45549bee3a058cdcd24.zip
Merge branch 'obsd-master'
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index c9e70590..4c017706 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -474,6 +474,7 @@ 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);
@@ -563,6 +564,7 @@ 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;
}
}