fix(core): set default window focus to window::Id::MAIN

This commit is contained in:
Michael Aaron Murphy 2024-05-17 20:33:20 +02:00 committed by Michael Murphy
parent 9292ea647b
commit 69bf95765d

View file

@ -147,7 +147,7 @@ impl Default for Core {
height: 0,
width: 0,
},
focused_window: None,
focused_window: Some(window::Id::MAIN),
#[cfg(feature = "applet")]
applet: crate::applet::Context::default(),
#[cfg(feature = "single-instance")]