tauri icon indicating copy to clipboard operation
tauri copied to clipboard

fix(macOS): implement monitor_from_point

Open BOXER78 opened this issue 3 weeks ago • 1 comments

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

Pasted Graphic

BOXER78 avatar Dec 03 '25 13:12 BOXER78

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.

FabianLars avatar Dec 03 '25 13:12 FabianLars