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

@ -209,7 +209,7 @@ void workspace_show(const char *num) {
/* check if this workspace is currently visible */
if (!workspace_is_visible(old)) {
LOG("Closing old workspace (%p / %s), it is empty\n", old, old->name);
tree_close(old, false);
tree_close(old, false, false);
}
}