diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-06-06 18:01:13 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-06-06 18:01:13 +0100 |
commit | 707798005537e3f01b7937da7abc001a56b5be74 (patch) | |
tree | cc9ee3d1ccece290652873d38e86b6f141d9d35c /server-client.c | |
parent | 78352fdd328b611d935ba051288191b33278cc4a (diff) | |
parent | 50b27c8c0dc65cb418ed422e2cdd035a7bafedfe (diff) | |
download | rtmux-707798005537e3f01b7937da7abc001a56b5be74.tar.gz rtmux-707798005537e3f01b7937da7abc001a56b5be74.tar.bz2 rtmux-707798005537e3f01b7937da7abc001a56b5be74.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server-client.c b/server-client.c index d179f6e8..d0ba617f 100644 --- a/server-client.c +++ b/server-client.c @@ -814,7 +814,7 @@ server_client_handle_key(struct client *c, key_code key) struct timeval tv; struct key_table *table, *first; struct key_binding bd_find, *bd; - int xtimeout; + int xtimeout, flags; struct cmd_find_state fs; /* Check the client is good to accept input. */ @@ -911,6 +911,7 @@ server_client_handle_key(struct client *c, key_code key) server_status_client(c); return; } + flags = c->flags; retry: /* Log key table. */ @@ -988,7 +989,7 @@ retry: * No match in the root table either. If this wasn't the first table * tried, don't pass the key to the pane. */ - if (first != table) { + if (first != table && (~flags & CLIENT_REPEAT)) { server_client_set_key_table(c, NULL); server_status_client(c); return; |