Fixed issue #700 where not using multi-window caused the main window to not be able to be interacted with
This commit is contained in:
parent
b14fde9033
commit
525a14cfb1
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue