diff --git a/src/main.rs b/src/main.rs index cfd956c..e8ddcb2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -435,6 +435,10 @@ impl Application for App { info, img: None, }); + // Close workspaces view if a window spawns while open + if self.visible { + return self.hide(); + } } backend::Event::UpdateToplevel(handle, info) => { if let Some(toplevel) =