summaryrefslogtreecommitdiffstats
path: root/status.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 /status.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 'status.c')
-rw-r--r--status.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/status.c b/status.c
index b24fc2eb..60faa42d 100644
--- a/status.c
+++ b/status.c
@@ -508,8 +508,7 @@ draw:
/* Copy the window list. */
c->wlmouse = -wloffset + wlstart;
screen_write_cursormove(&ctx, wloffset, 0);
- screen_write_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1, NULL,
- NULL);
+ screen_write_fast_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1);
screen_free(&window_list);
screen_write_stop(&ctx);