pub fn pick_active_monitor(
cursor_x: f64,
cursor_y: f64,
monitors: &[MonitorRect],
) -> Option<usize>Expand description
Index of the monitor that contains (cursor_x, cursor_y), or
None if the cursor sits outside every rect. Used by
MonitorPlacement::Active to decide which display the overlay
should pop on.