summaryrefslogtreecommitdiffstats
path: root/cmd-join-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-13 18:01:43 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-13 18:01:43 +0100
commitacc00cd13a767067f85ed27d52ad543c9a58869c (patch)
tree924a72d2029f32a3fb2b544bbc295b7e19bd197e /cmd-join-pane.c
parent0a11f1607b9f3623dce287d4940bb925b533a340 (diff)
parent34804f2709a16dca45dc072fb53d03f79db61e51 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-join-pane.c')
-rw-r--r--cmd-join-pane.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-join-pane.c b/cmd-join-pane.c
index af58bbdb..6583db75 100644
--- a/cmd-join-pane.c
+++ b/cmd-join-pane.c
@@ -63,8 +63,7 @@ static enum cmd_retval
cmd_join_pane_exec(struct cmd *self, struct cmdq_item *item)
{
struct args *args = cmd_get_args(self);
- struct cmdq_state *state = cmdq_get_state(item);
- struct cmd_find_state *current = &state->current;
+ struct cmd_find_state *current = cmdq_get_current(item);
struct cmd_find_state *target = cmdq_get_target(item);
struct cmd_find_state *source = cmdq_get_source(item);
struct session *dst_s;