summaryrefslogtreecommitdiffstats
path: root/resize.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-24 07:02:56 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-24 07:02:56 +0000
commit1764ef81efce5f265f61107f0b1e91d73b858fb4 (patch)
tree4aae9f33dbc264a52108d60eec3a551740fe1b30 /resize.c
parentfecf8dc44ee88bd5aee02035d13b118fa514f253 (diff)
Don't allow locked or suspended clients to limit the size of active clients.
Diffstat (limited to 'resize.c')
-rw-r--r--resize.c2
1 files changed, 1 insertions, 1 deletions
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)