Bugfix: don’t kill parent when currently in tree_close() for a child of this parent

This commit is contained in:
Michael Stapelberg
2010-11-14 20:14:09 +01:00
parent f0efb3737e
commit d760a1c7b2
6 changed files with 13 additions and 11 deletions

View File

@ -76,7 +76,7 @@ void tree_move(char way, orientation_t orientation);
* Closes the given container including all children
*
*/
void tree_close(Con *con, bool kill_window);
void tree_close(Con *con, bool kill_window, bool dont_kill_parent);
/**
* Loads tree from ~/.i3/_restart.json (used for in-place restarts).