Skip to content

Commit

Permalink
Fixed issue #700 where not using multi-window caused the main window …
Browse files Browse the repository at this point in the history
…to not be able to be interacted with
  • Loading branch information
Adam-Cosner authored and wash2 committed Nov 20, 2024
1 parent b14fde9 commit 525a14c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ pub fn run<App: Application>(settings: Settings, flags: App::Flags) -> iced::Res
let (settings, mut flags, window_settings) = iced_settings::<App>(settings, flags);
#[cfg(not(feature = "multi-window"))]
{
flags.0.main_window = Some(iced::window::Id::RESERVED);
iced::application(
cosmic::Cosmic::title,
cosmic::Cosmic::update,
Expand Down

0 comments on commit 525a14c

Please sign in to comment.