diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-25 10:12:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-25 10:12:01 +0000 |
commit | 446fb0cb9cd8e664639a204023b2e09f5f6aa6fb (patch) | |
tree | c788885233f4ae327c3884a70162fbc8c38d3e3a | |
parent | 6fee3e9e4b4c68c5d3d7f333c779ac865af7bf86 (diff) | |
download | rtmux-446fb0cb9cd8e664639a204023b2e09f5f6aa6fb.tar.gz rtmux-446fb0cb9cd8e664639a204023b2e09f5f6aa6fb.tar.bz2 rtmux-446fb0cb9cd8e664639a204023b2e09f5f6aa6fb.zip |
Do not redraw panes if invisible.
-rw-r--r-- | screen-redraw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 8cc448a2..0d1d53da 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++; |