summaryrefslogtreecommitdiffstats
path: root/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'resize.c')
-rw-r--r--resize.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/resize.c b/resize.c
index 96d733f0..15d146d8 100644
--- a/resize.c
+++ b/resize.c
@@ -72,17 +72,17 @@ ignore_client_size(struct client *c)
return (1);
if (c->flags & CLIENT_NOSIZEFLAGS)
return (1);
- if (c->flags & CLIENT_READONLY) {
+ if (c->flags & CLIENT_IGNORESIZE) {
/*
- * Ignore readonly clients if there are any attached clients
- * that aren't readonly.
+ * Ignore flagged clients if there are any attached clients
+ * that aren't flagged.
*/
TAILQ_FOREACH (loop, &clients, entry) {
if (loop->session == NULL)
continue;
if (loop->flags & CLIENT_NOSIZEFLAGS)
continue;
- if (~loop->flags & CLIENT_READONLY)
+ if (~loop->flags & CLIENT_IGNORESIZE)
return (1);
}
}