summaryrefslogtreecommitdiffstats
path: root/cmd-switch-client.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-12 18:32:24 +0000
committernicm <nicm>2015-12-12 18:32:24 +0000
commit5ed17e84faed0a7655ec1eb3de291b60839dcb12 (patch)
tree6d6a92930d40c5ca616505ebba40fc5ac4b4d57b /cmd-switch-client.c
parent6a50cf89b40d472cd1f8b439913ca4caddbfd001 (diff)
Add key-table option to set the default key table for a session, allows
different key bindings for different sessions and a few other things.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r--cmd-switch-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index 85cbce78..4746b15a 100644
--- a/cmd-switch-client.c
+++ b/cmd-switch-client.c
@@ -124,6 +124,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
if (c->session != NULL && c->session != s)
c->last_session = c->session;
c->session = s;
+ server_client_set_key_table(c, NULL);
status_timer_start(c);
session_update_activity(s, NULL);
gettimeofday(&s->last_attached_time, NULL);