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. --- server-fn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server-fn.c') diff --git a/server-fn.c b/server-fn.c index f947d8ff..c4ff4aa9 100644 --- a/server-fn.c +++ b/server-fn.c @@ -368,7 +368,7 @@ server_destroy_session_group(struct session *s) else { TAILQ_FOREACH_SAFE(s, &sg->sessions, gentry, s1) { server_destroy_session(s); - session_destroy(s, __func__); + session_destroy(s, 1, __func__); } } } @@ -435,7 +435,7 @@ server_check_unattached(void) if (s->attached != 0) continue; if (options_get_number (s->options, "destroy-unattached")) - session_destroy(s, __func__); + session_destroy(s, 1, __func__); } } -- cgit