version 1.38, 2020/01/28 13:23:24 |
version 1.39, 2020/05/16 15:45:29 |
|
|
return (1); |
return (1); |
if (c->flags & CLIENT_NOSIZEFLAGS) |
if (c->flags & CLIENT_NOSIZEFLAGS) |
return (1); |
return (1); |
if (c->flags & CLIENT_READONLY) { |
if (c->flags & CLIENT_IGNORESIZE) { |
/* |
/* |
* Ignore readonly clients if there are any attached clients |
* Ignore flagged clients if there are any attached clients |
* that aren't readonly. |
* that aren't flagged. |
*/ |
*/ |
TAILQ_FOREACH (loop, &clients, entry) { |
TAILQ_FOREACH (loop, &clients, entry) { |
if (loop->session == NULL) |
if (loop->session == NULL) |
continue; |
continue; |
if (loop->flags & CLIENT_NOSIZEFLAGS) |
if (loop->flags & CLIENT_NOSIZEFLAGS) |
continue; |
continue; |
if (~loop->flags & CLIENT_READONLY) |
if (~loop->flags & CLIENT_IGNORESIZE) |
return (1); |
return (1); |
} |
} |
} |
} |