winit icon indicating copy to clipboard operation
winit copied to clipboard

Desktop/screen coordinates don't work properly across monitors with different scale factors

Open madsmtm opened this issue 3 months ago • 0 comments

Description

The calculation is based on the window's current monitor's scale factor, instead of the "root" monitor's scale factor (screen coordinates are weird on macOS). Should be fixable by taking the scale factor from NSScreen::screens()[0].

macOS version

ProductName:            macOS
ProductVersion:         14.4
BuildVersion:           23E214

Winit version

0.29.11

madsmtm avatar Mar 29 '24 16:03 madsmtm