aboutsummaryrefslogtreecommitdiff
path: root/screen-redraw.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-09 21:33:28 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-09 21:33:28 +0000
commit2ac6501698d5499967b33013d9f3fc8091fddc41 (patch)
treee699425a8ea2296d96aa0cd953646188a81df955 /screen-redraw.c
parent06ac399ce6dc25201cfd1670b08ed8758034e2dc (diff)
parentdde5d49a5ed305cfa32f18c08d6f1b769d8ccef7 (diff)
downloadrtmux-2ac6501698d5499967b33013d9f3fc8091fddc41.tar.gz
rtmux-2ac6501698d5499967b33013d9f3fc8091fddc41.tar.bz2
rtmux-2ac6501698d5499967b33013d9f3fc8091fddc41.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c3
1 files changed, 3 insertions, 0 deletions
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++;