Add parameter to reparent windows instead of killing them when closing a container
Necessary because when windows are unmapped, they are not necessary to be killed (an application can unmap it temporarily).
This commit is contained in:
@ -117,7 +117,7 @@ void workspace_show(const char *num) {
|
||||
|
||||
if (TAILQ_EMPTY(&(old->nodes_head))) {
|
||||
LOG("Closing old workspace (%p / %s), it is empty\n", old, old->name);
|
||||
tree_close(old);
|
||||
tree_close(old, false);
|
||||
}
|
||||
|
||||
con_focus(next);
|
||||
|
Reference in New Issue
Block a user