Switched from active hover to NSViews acceptsFirstMouse API

This commit is contained in:
Mikayla Maki 2023-01-19 15:21:26 -08:00
parent 4eeb1aec50
commit 88170df7f0
6 changed files with 24 additions and 11 deletions

View file

@ -156,6 +156,7 @@ pub struct WindowOptions<'a> {
pub kind: WindowKind,
pub is_movable: bool,
pub screen: Option<Rc<dyn Screen>>,
pub accepts_first_mouse: bool,
}
#[derive(Debug)]
@ -301,6 +302,7 @@ impl<'a> Default for WindowOptions<'a> {
kind: WindowKind::Normal,
is_movable: true,
screen: None,
accepts_first_mouse: false,
}
}
}