tauri
tauri copied to clipboard
fix(macOS): implement monitor_from_point
Fixes monitor_from_point returning None on macOS.
This PR implements the logic to find the monitor containing a given point by iterating through available monitors and checking if the point lies within their bounds.
Closes #14559
I really appreciate the PR but i don't think this is how it should be solved. Ideally it should be fixed in https://github.com/tauri-apps/tao/blob/dev/src/platform_impl/macos/monitor.rs#L163-L173 and if that function already works we should fix the call to it in tauri.