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.
This commit is contained in:
Nicholas Marriott
2010-11-22 21:13:13 +00:00
parent 9a1b4f9ed3
commit ef9b2eb566
3 changed files with 4 additions and 8 deletions

2
tty.c
View File

@ -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++) {