From dde5d49a5ed305cfa32f18c08d6f1b769d8ccef7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 9 Mar 2013 17:29:22 +0000 Subject: [PATCH] Do not redraw panes if invisible. --- screen-redraw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/screen-redraw.c b/screen-redraw.c index 899f741b..14b73164 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -273,6 +273,9 @@ screen_redraw_pane(struct client *c, struct window_pane *wp) { u_int i, yoff; + if (!window_pane_visible(wp)) + return; + yoff = wp->yoff; if (status_at_line(c) == 0) yoff++;