summaryrefslogtreecommitdiffstats
path: root/window-client.c
diff options
context:
space:
mode:
authornicm <nicm>2017-11-02 21:29:17 +0000
committernicm <nicm>2017-11-02 21:29:17 +0000
commit8d37f699ad2406ad96080b0cee211142dbcb33cb (patch)
treea7dae5d870c763361435ddd2d25bdee5c5339783 /window-client.c
parent17655e5ba65e37787cd9920e1a89aedf6f623957 (diff)
Add a "fast" version of screen_write_copy for tree mode that doesn't do
all the checks and selection and marking stuff needed for copy mode.
Diffstat (limited to 'window-client.c')
-rw-r--r--window-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window-client.c b/window-client.c
index 4b57aa23..fc5b55e7 100644
--- a/window-client.c
+++ b/window-client.c
@@ -235,9 +235,9 @@ window_client_draw(__unused void *modedata, void *itemdata, u_int sx, u_int sy)
screen_write_cursormove(&ctx, 0, sy - 1);
if (c->old_status != NULL)
- screen_write_copy(&ctx, c->old_status, 0, 0, sx, 1, NULL, NULL);
+ screen_write_fast_copy(&ctx, c->old_status, 0, 0, sx, 1);
else
- screen_write_copy(&ctx, &c->status, 0, 0, sx, 1, NULL, NULL);
+ screen_write_fast_copy(&ctx, &c->status, 0, 0, sx, 1);
screen_write_stop(&ctx);
return (&s);