From 78287e27c87ccdda1f8580382b336a0d02c26a03 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 17 Apr 2019 14:37:48 +0000 Subject: Break new window and pane creation common code from various commands and window.c into a separate file spawn.c. --- window-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window-tree.c') diff --git a/window-tree.c b/window-tree.c index 120d22c8..fe0e5c14 100644 --- a/window-tree.c +++ b/window-tree.c @@ -1006,7 +1006,7 @@ window_tree_kill_each(__unused void* modedata, void* itemdata, case WINDOW_TREE_SESSION: if (s != NULL) { server_destroy_session(s); - session_destroy(s, __func__); + session_destroy(s, 1, __func__); } break; case WINDOW_TREE_WINDOW: -- cgit