Don't focus incoming call and project shared notification windows

This commit is contained in:
Antonio Scandurra 2022-11-02 14:17:16 +01:00
parent 86057ab071
commit d275474b23
5 changed files with 10 additions and 1 deletions

View file

@ -152,6 +152,7 @@ pub struct WindowOptions<'a> {
pub bounds: WindowBounds,
pub titlebar: Option<TitlebarOptions<'a>>,
pub center: bool,
pub focus: bool,
pub kind: WindowKind,
pub is_movable: bool,
pub screen: Option<Rc<dyn Screen>>,
@ -296,6 +297,7 @@ impl<'a> Default for WindowOptions<'a> {
traffic_light_position: Default::default(),
}),
center: false,
focus: true,
kind: WindowKind::Normal,
is_movable: true,
screen: None,