From 54309cc25d4bf9e144342179d815e459c88d6153 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 28 Jan 2017 16:11:27 +0000 Subject: Do not clear the key table when changing session on a client, so that switch-client and friends work with bind -n. --- cmd-new-session.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd-new-session.c') diff --git a/cmd-new-session.c b/cmd-new-session.c index 10304bc0..a39522ac 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -277,7 +277,6 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item) } else if (c->session != NULL) c->last_session = c->session; c->session = s; - server_client_set_key_table(c, NULL); status_timer_start(c); notify_client("client-session-changed", c); session_update_activity(s, NULL); -- cgit