mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
Don't try to unsuspend a client if it isn't suspended.
This commit is contained in:
parent
90ad041fa5
commit
d69b364b5f
@ -101,6 +101,8 @@ server_msg_dispatch(struct client *c)
|
|||||||
if (datalen != 0)
|
if (datalen != 0)
|
||||||
fatalx("bad MSG_WAKEUP size");
|
fatalx("bad MSG_WAKEUP size");
|
||||||
|
|
||||||
|
if (!(c->flags & CLIENT_SUSPENDED))
|
||||||
|
break;
|
||||||
c->flags &= ~CLIENT_SUSPENDED;
|
c->flags &= ~CLIENT_SUSPENDED;
|
||||||
tty_start_tty(&c->tty);
|
tty_start_tty(&c->tty);
|
||||||
server_redraw_client(c);
|
server_redraw_client(c);
|
||||||
|
Loading…
Reference in New Issue
Block a user