summaryrefslogtreecommitdiffstats
path: root/cmd-join-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-13 14:04:25 +0000
committernicm <nicm>2020-04-13 14:04:25 +0000
commit9a65102bfc2ed5d1e1f41e47451b8296c84f133d (patch)
tree5f96c61a04d696402b41df1087b5fd6cc50f29b2 /cmd-join-pane.c
parent77d5b0cc538138fd036dca0f9b2ba198a94c009d (diff)
Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.
Diffstat (limited to 'cmd-join-pane.c')
-rw-r--r--cmd-join-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-join-pane.c b/cmd-join-pane.c
index ab0fea62..99d7f366 100644
--- a/cmd-join-pane.c
+++ b/cmd-join-pane.c
@@ -64,8 +64,8 @@ static enum cmd_retval
cmd_join_pane_exec(struct cmd *self, struct cmdq_item *item)
{
struct args *args = cmd_get_args(self);
- 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 = cmdq_get_target(item);
struct cmd_find_state *source = cmdq_get_source(item);
struct session *dst_s;