aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-01-28 10:01:25 +0000
committerThomas Adam <thomas@xteddy.org>2020-01-28 10:01:25 +0000
commit7cdf5ee9bc2fa114a7d830b73e2088d1a2dc5174 (patch)
tree09c9cb65c60400d031d821d033970888dcad067f /server-client.c
parentf3ea318a044ed729c7fcf8c1897f0d479f88bdd4 (diff)
parent24350879cdfb9ef23dee0da409b621e9830d8baf (diff)
downloadrtmux-7cdf5ee9bc2fa114a7d830b73e2088d1a2dc5174.tar.gz
rtmux-7cdf5ee9bc2fa114a7d830b73e2088d1a2dc5174.tar.bz2
rtmux-7cdf5ee9bc2fa114a7d830b73e2088d1a2dc5174.zip
Merge branch 'obsd-master'
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-client.c b/server-client.c
index 13d58558..3253307d 100644
--- a/server-client.c
+++ b/server-client.c
@@ -1032,7 +1032,7 @@ server_client_key_callback(struct cmdq_item *item, void *data)
key_code key0;
/* Check the client is good to accept input. */
- if (s == NULL || (c->flags & (CLIENT_DEAD|CLIENT_SUSPENDED)) != 0)
+ if (s == NULL || (c->flags & CLIENT_UNATTACHEDFLAGS))
goto out;
wl = s->curw;
@@ -1219,7 +1219,7 @@ server_client_handle_key(struct client *c, struct key_event *event)
struct cmdq_item *item;
/* Check the client is good to accept input. */
- if (s == NULL || (c->flags & (CLIENT_DEAD|CLIENT_SUSPENDED)) != 0)
+ if (s == NULL || (c->flags & CLIENT_UNATTACHEDFLAGS))
return (0);
/*