aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server-msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server-msg.c b/server-msg.c
index 248b94d4..02ceb078 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -101,6 +101,8 @@ server_msg_dispatch(struct client *c)
if (datalen != 0)
fatalx("bad MSG_WAKEUP size");
+ if (!(c->flags & CLIENT_SUSPENDED))
+ break;
c->flags &= ~CLIENT_SUSPENDED;
tty_start_tty(&c->tty);
server_redraw_client(c);