diff --git a/src/app/mod.rs b/src/app/mod.rs index e4b59d629fa..88dee959a61 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -142,6 +142,7 @@ pub fn run(settings: Settings, flags: App::Flags) -> iced::Res let (settings, mut flags, window_settings) = iced_settings::(settings, flags); #[cfg(not(feature = "multi-window"))] { + flags.0.main_window = Some(iced::window::Id::RESERVED); iced::application( cosmic::Cosmic::title, cosmic::Cosmic::update,