summaryrefslogtreecommitdiffstats
path: root/cmd-split-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-13 16:01:46 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-13 16:01:46 +0100
commit0a11f1607b9f3623dce287d4940bb925b533a340 (patch)
tree381726321744f6e0ad4e454409dc74498965c82c /cmd-split-window.c
parent8f2b5d714a9f854c9583cab8bae70a2c7323fa00 (diff)
parent9a65102bfc2ed5d1e1f41e47451b8296c84f133d (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r--cmd-split-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c
index 6e84be20..db92767f 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -53,8 +53,8 @@ static enum cmd_retval
cmd_split_window_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 spawn_context sc;
struct client *c = cmd_find_client(item, NULL, 1);