diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-11-22 21:13:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-11-22 21:13:13 +0000 |
commit | ef9b2eb566fc090b773c79e406dd43d0006a3217 (patch) | |
tree | 578b4e7793b3111940d06e78510a2eeb2bd7aa04 /resize.c | |
parent | 9a1b4f9ed3285d3b9b0e8d22b0bdb1a97df7e949 (diff) |
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.
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) |