Allow contacts popover to be activated even if app isn't foregrounded
This commit is contained in:
parent
1c9c7ef7ae
commit
44553875d0
5 changed files with 118 additions and 70 deletions
|
@ -142,7 +142,8 @@ pub struct WindowOptions<'a> {
|
|||
pub bounds: WindowBounds,
|
||||
pub titlebar: Option<TitlebarOptions<'a>>,
|
||||
pub center: bool,
|
||||
pub level: WindowLevel,
|
||||
pub kind: WindowKind,
|
||||
pub is_movable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
@ -167,7 +168,7 @@ impl Default for Appearance {
|
|||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum WindowLevel {
|
||||
pub enum WindowKind {
|
||||
Normal,
|
||||
PopUp,
|
||||
}
|
||||
|
@ -283,7 +284,8 @@ impl<'a> Default for WindowOptions<'a> {
|
|||
traffic_light_position: Default::default(),
|
||||
}),
|
||||
center: false,
|
||||
level: WindowLevel::Normal,
|
||||
kind: WindowKind::Normal,
|
||||
is_movable: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue