diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-09-24 07:02:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-09-24 07:02:56 +0000 |
commit | 1764ef81efce5f265f61107f0b1e91d73b858fb4 (patch) | |
tree | 4aae9f33dbc264a52108d60eec3a551740fe1b30 /resize.c | |
parent | fecf8dc44ee88bd5aee02035d13b118fa514f253 (diff) | |
download | rtmux-1764ef81efce5f265f61107f0b1e91d73b858fb4.tar.gz rtmux-1764ef81efce5f265f61107f0b1e91d73b858fb4.tar.bz2 rtmux-1764ef81efce5f265f61107f0b1e91d73b858fb4.zip |
Don't allow locked or suspended clients to limit the size of active clients.
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |