Skip to content

Commit

Permalink
On mock backend, don't hide when toplevel is opened
Browse files Browse the repository at this point in the history
Toplevels are only added on this backend when the workspaces view is
shown.
  • Loading branch information
ids1024 committed Dec 17, 2024
1 parent 81ea2f2 commit e0c0f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ impl Application for App {
img: None,
});
// Close workspaces view if a window spawns while open
#[cfg(not(feature = "mock-backend"))]
if self.visible {
return self.hide();
}
Expand Down

0 comments on commit e0c0f27

Please sign in to comment.