From bba588752f8085da13edcacd71101055bd617303 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 21 Apr 2017 14:01:19 +0000 Subject: Store state shared between multiple commands in the queue in a shared structure. --- cmd-switch-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-switch-client.c') diff --git a/cmd-switch-client.c b/cmd-switch-client.c index 5bcdbb78..06388d44 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -108,7 +108,7 @@ 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) + if (~item->shared->flags & CMDQ_SHARED_REPEAT) server_client_set_key_table(c, NULL); status_timer_start(c); session_update_activity(s, NULL); -- cgit v1.2.3