From ef9b2eb566fc090b773c79e406dd43d0006a3217 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 22 Nov 2010 21:13:13 +0000 Subject: 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. --- resize.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'resize.c') diff --git a/resize.c b/resize.c index 15f99e7c..af84eaba 100644 --- a/resize.c +++ b/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) -- cgit v1.2.3