mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Add various checks to turn off bits that can't work in control mode (such as
lock).
This commit is contained in:
@ -239,6 +239,9 @@ server_lock_client(struct client *c)
|
||||
size_t cmdlen;
|
||||
struct msg_lock_data lockdata;
|
||||
|
||||
if (!(c->flags & CLIENT_CONTROL))
|
||||
return;
|
||||
|
||||
if (c->flags & CLIENT_SUSPENDED)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user