From 8d37f699ad2406ad96080b0cee211142dbcb33cb Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 2 Nov 2017 21:29:17 +0000 Subject: 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. --- status.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'status.c') 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); -- cgit