aboutsummaryrefslogtreecommitdiff
path: root/window-client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-03-18 15:07:51 +0000
committerThomas Adam <thomas@xteddy.org>2019-03-18 15:07:51 +0000
commitacb2413852b98745b69459d0cdd0d9698cb75e2c (patch)
tree6af803240715b8a6bccc328d5eda14f237e44944 /window-client.c
parentaa2b3472c515dd1e5f57618e17c0c612cfa3c117 (diff)
parentce6be7afd4d10b542f9cce8634d6bdd81754f775 (diff)
downloadrtmux-acb2413852b98745b69459d0cdd0d9698cb75e2c.tar.gz
rtmux-acb2413852b98745b69459d0cdd0d9698cb75e2c.tar.bz2
rtmux-acb2413852b98745b69459d0cdd0d9698cb75e2c.zip
Merge branch 'obsd-master'
Diffstat (limited to 'window-client.c')
-rw-r--r--window-client.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/window-client.c b/window-client.c
index f86d8676..db1edbb3 100644
--- a/window-client.c
+++ b/window-client.c
@@ -229,10 +229,7 @@ window_client_draw(__unused void *modedata, void *itemdata,
screen_write_hline(ctx, sx, 0, 0);
screen_write_cursormove(ctx, cx, cy + sy - 1, 0);
- if (c->status.old_status != NULL)
- screen_write_fast_copy(ctx, c->status.old_status, 0, 0, sx, 1);
- else
- screen_write_fast_copy(ctx, &c->status.status, 0, 0, sx, 1);
+ screen_write_fast_copy(ctx, &c->status.screen, 0, 0, sx, 1);
}
static struct screen *