diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-06 21:57:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-06 21:57:56 +0000 |
commit | e75187310d1d8f839de997ac3f074a7adc657276 (patch) | |
tree | a1f817fcf0302d58c2a254544df8f58159ac864c /tty.c | |
parent | 7a0468c95c58d91795630f204cab8362ffd44ed2 (diff) | |
download | rtmux-e75187310d1d8f839de997ac3f074a7adc657276.tar.gz rtmux-e75187310d1d8f839de997ac3f074a7adc657276.tar.bz2 rtmux-e75187310d1d8f839de997ac3f074a7adc657276.zip |
PatchSet 789
Date: 2010/11/22 21:13:13
Author: nicm
Branch: HEAD
Tag: (none)
Log:
There is somewhere that WINDOW_HIDDEN is getting set when it shouldn't
be and I can't find it, but the flag itself is a useless optimisation
that only applies to automatic-resize windows, so just dispose of it
entirely.
Fixes problems reported by Nicholas Riley.
Members:
resize.c:1.5->1.6
tmux.h:1.246->1.247
tty.c:1.92->1.93
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.196 2010-10-24 00:45:57 tcunha Exp $ */ +/* $Id: tty.c,v 1.197 2010-12-06 21:57:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -547,7 +547,7 @@ tty_write(void (*cmdfn)( if (wp->window->flags & WINDOW_REDRAW || wp->flags & PANE_REDRAW) return; - if (wp->window->flags & WINDOW_HIDDEN || !window_pane_visible(wp)) + if (!window_pane_visible(wp)) return; for (i = 0; i < ARRAY_LENGTH(&clients); i++) { |