diff --git a/resize.c b/resize.c index b5196c1c..ff3ec6c5 100644 --- a/resize.c +++ b/resize.c @@ -92,7 +92,7 @@ recalculate_sizes(void) for (i = 0; i < ARRAY_LENGTH(&windows); i++) { w = ARRAY_ITEM(&windows, i); - if (w == NULL) + if (w == NULL || w->active == NULL) continue; flag = options_get_number(&w->options, "aggressive-resize");