Switched from active hover to NSViews acceptsFirstMouse API

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Mikayla Maki 2023-01-19 15:21:26 -08:00
parent 88170df7f0
commit 95e661a78c
3 changed files with 10 additions and 3 deletions

View file

@ -443,6 +443,7 @@ impl Window {
scene_to_render: Default::default(),
renderer: Renderer::new(true, fonts),
last_fresh_keydown: None,
accepts_first_mouse: matches!(options.kind, WindowKind::PopUp),
traffic_light_position: options
.titlebar
.as_ref()