From 1764ef81efce5f265f61107f0b1e91d73b858fb4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 24 Sep 2009 07:02:56 +0000 Subject: Don't allow locked or suspended clients to limit the size of active clients. --- resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resize.c') diff --git a/resize.c b/resize.c index d549ea5b..5635f9d4 100644 --- a/resize.c +++ b/resize.c @@ -60,7 +60,7 @@ recalculate_sizes(void) ssx = ssy = UINT_MAX; for (j = 0; j < ARRAY_LENGTH(&clients); j++) { c = ARRAY_ITEM(&clients, j); - if (c == NULL) + if (c == NULL || c->flags & CLIENT_SUSPENDED) continue; if (c->session == s) { if (c->tty.sx < ssx) -- cgit