From 525a14cfb1a735779a9fe970ff1726c8dbf1b217 Mon Sep 17 00:00:00 2001 From: Adam Cosner Date: Tue, 19 Nov 2024 20:35:04 -0800 Subject: [PATCH] Fixed issue #700 where not using multi-window caused the main window to not be able to be interacted with --- src/app/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/mod.rs b/src/app/mod.rs index e4b59d6..88dee95 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,