diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 21:09:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 21:09:01 +0000 |
commit | 474853439c358d9ce23bdc9b87361d6127f9e061 (patch) | |
tree | 36ab58d713240a6410823e05e92587c445404290 | |
parent | 3932da2522ad93a02da3c886853f6f377ba9556b (diff) |
Only redraw screen when not hidden. Heh.
-rw-r--r-- | screen-redraw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 1c8ab096..dda04f85 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.32 2009-04-01 18:33:19 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.33 2009-04-01 21:09:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -87,6 +87,9 @@ screen_redraw_screen(struct client *c) /* Draw the panes. */ TAILQ_FOREACH(wp, &w->panes, entry) { + if (wp->flags & PANE_HIDDEN) + continue; + tty_reset(tty); s = wp->screen; |