Skip to content

Commit

Permalink
fix(wm): restore containers when closing monocle
Browse files Browse the repository at this point in the history
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
  • Loading branch information
LGUG2Z committed May 20, 2024
1 parent 0f44efa commit 0dc17e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions komorebi/src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,10 @@ impl Workspace {
self.set_monocle_container_restore_idx(None);
}

for c in self.containers() {
c.restore();
}

return Ok(());
}
}
Expand Down

0 comments on commit 0dc17e9

Please sign in to comment.