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 committed 2024-05-20 08:24:55 -07:00
1 parent 0f44efaa82
commit 0dc17e9cb3
1 file changed
+4
+4
View File
@@ -660,6 +660,10 @@ impl Workspace {
self.set_monocle_container_restore_idx(None);
}
for c in self.containers() {
c.restore();
}
return Ok(());
}
}