fix(wm): restore containers when closing monocle

This commit fixes a regression introduced by hiding other containers
when monocle is enabled. When the monocle container is closed, other
containers on the workspace will now be restored.

re #834
This commit is contained in:
LGUG2Z
2024-05-20 08:24:53 -07:00
parent 0f44efaa82
commit 0dc17e9cb3

View File

@@ -660,6 +660,10 @@ impl Workspace {
self.set_monocle_container_restore_idx(None);
}
for c in self.containers() {
c.restore();
}
return Ok(());
}
}