diff options
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: group.c,v 1.94 2014/08/24 15:37:45 okan Exp $ + * $OpenBSD: group.c,v 1.95 2014/08/25 12:49:19 okan Exp $ */ #include <sys/param.h> @@ -207,6 +207,8 @@ group_hidden_state(struct group_ctx *gc) int hidden = 0, same = 0; TAILQ_FOREACH(cc, &gc->clients, group_entry) { + if (cc->flags & CLIENT_STICKY) + continue; if (hidden == ((cc->flags & CLIENT_HIDDEN) ? 1 : 0)) same++; } |