From 0dc17e9cb3fff0a5ec99d9241798aa8d5e2f3e1d Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Mon, 20 May 2024 08:24:53 -0700 Subject: [PATCH] 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 --- komorebi/src/workspace.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/komorebi/src/workspace.rs b/komorebi/src/workspace.rs index 94860fc3..a2ccb130 100644 --- a/komorebi/src/workspace.rs +++ b/komorebi/src/workspace.rs @@ -660,6 +660,10 @@ impl Workspace { self.set_monocle_container_restore_idx(None); } + for c in self.containers() { + c.restore(); + } + return Ok(()); } }