summaryrefslogtreecommitdiffstats
path: root/cmd-respawn-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r--cmd-respawn-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c
index aa4e169b..da9a365a 100644
--- a/cmd-respawn-window.c
+++ b/cmd-respawn-window.c
@@ -90,7 +90,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_q *cmdq)
cmdq_error(cmdq, "respawn window failed: %s", cause);
free(cause);
environ_free(env);
- server_destroy_pane(wp);
+ server_destroy_pane(wp, 0);
return (CMD_RETURN_ERROR);
}
layout_init(w, wp);