Break new window and pane creation common code from various commands and

window.c into a separate file spawn.c.
This commit is contained in:
Nicholas Marriott
2019-04-07 13:01:03 +01:00
parent 7653328ce7
commit 5ece386cdf
21 changed files with 275 additions and 624 deletions

View File

@ -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: