Sync OpenBSD patchset 352:

Don't allow locked or suspended clients to limit the size of active clients.
This commit is contained in:
Tiago Cunha
2009-09-25 17:47:42 +00:00
parent b5d23ef38b
commit 804b8696a4
4 changed files with 10 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: server-msg.c,v 1.89 2009-09-23 15:20:16 tcunha Exp $ */
/* $Id: server-msg.c,v 1.90 2009-09-25 17:47:42 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -103,6 +103,7 @@ server_msg_dispatch(struct client *c)
c->flags &= ~CLIENT_SUSPENDED;
tty_start_tty(&c->tty);
server_redraw_client(c);
recalculate_sizes();
server_activity = time(NULL);
break;
case MSG_ENVIRON: