mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
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:
5
resize.c
5
resize.c
@ -113,11 +113,8 @@ recalculate_sizes(void)
|
||||
ssy = s->sy;
|
||||
}
|
||||
}
|
||||
if (ssx == UINT_MAX || ssy == UINT_MAX) {
|
||||
w->flags |= WINDOW_HIDDEN;
|
||||
if (ssx == UINT_MAX || ssy == UINT_MAX)
|
||||
continue;
|
||||
}
|
||||
w->flags &= ~WINDOW_HIDDEN;
|
||||
|
||||
limit = options_get_number(&w->options, "force-width");
|
||||
if (limit != 0 && ssx > limit)
|
||||
|
Reference in New Issue
Block a user