diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-02-06 16:01:20 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-02-06 16:01:20 +0000 |
commit | 1199f8fc59f34f474672cb95a781d3a817d05242 (patch) | |
tree | e80c8148f42a83050e763abe017017eb73cad2f7 /cmd-switch-client.c | |
parent | 446177a8326d6d29591c1e42ec44d0f92e39c466 (diff) | |
parent | e67548dc36fdb4454aded1c95bd35e2443191f94 (diff) | |
download | rtmux-1199f8fc59f34f474672cb95a781d3a817d05242.tar.gz rtmux-1199f8fc59f34f474672cb95a781d3a817d05242.tar.bz2 rtmux-1199f8fc59f34f474672cb95a781d3a817d05242.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 5cf4756f..5bcdbb78 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -108,6 +108,8 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) if (c->session != NULL && c->session != s) c->last_session = c->session; c->session = s; + if (!item->repeat) + server_client_set_key_table(c, NULL); status_timer_start(c); session_update_activity(s, NULL); gettimeofday(&s->last_attached_time, NULL); |