From e0c0f27f6722e2a91084594c4c815f6af3de27c8 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 16 Dec 2024 17:55:14 -0800 Subject: [PATCH] On mock backend, don't hide when toplevel is opened Toplevels are only added on this backend when the workspaces view is shown. --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index e8ddcb2..ca5b5d3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(); }