aboutsummaryrefslogtreecommitdiff
path: root/cmd-respawn-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r--cmd-respawn-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c
index aec22912..497e401e 100644
--- a/cmd-respawn-window.c
+++ b/cmd-respawn-window.c
@@ -59,6 +59,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmdq_item *item)
sc.item = item;
sc.s = s;
sc.wl = wl;
+ sc.c = cmd_find_client(item, NULL, 1);
sc.name = NULL;
sc.argc = args->argc;