From 9a65102bfc2ed5d1e1f41e47451b8296c84f133d Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 13 Apr 2020 14:04:25 +0000 Subject: Rename cmdq_shared to cmdq_state which will better reflect what it is (going to be) used for. --- cmd-attach-session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd-attach-session.c') diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 4ffd3dd2..00a852fc 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -50,8 +50,8 @@ enum cmd_retval cmd_attach_session(struct cmdq_item *item, const char *tflag, int dflag, int xflag, int rflag, const char *cflag, int Eflag) { - struct cmdq_shared *shared = cmdq_get_shared(item); - struct cmd_find_state *current = &shared->current; + struct cmdq_state *state = cmdq_get_state(item); + struct cmd_find_state *current = &state->current; struct cmd_find_state target; enum cmd_find_type type; int flags; @@ -120,7 +120,7 @@ cmd_attach_session(struct cmdq_item *item, const char *tflag, int dflag, environ_update(s->options, c->environ, s->environ); c->session = s; - if (~shared->flags & CMDQ_SHARED_REPEAT) + if (~state->flags & CMDQ_STATE_REPEAT) server_client_set_key_table(c, NULL); tty_update_client_offset(c); status_timer_start(c); -- cgit