Closed clearlysid closed 6 months ago
Previously scale_factor was only calculated on a Display level. This PR updates the function to also work on Window targets as well.
scale_factor
This is the macOS equivalent of PR #85 (for Windows OS)
It also adds a CGWindowID so people can get the underlying raw_window_handle from there.
CGWindowID
Merging this since it's a small one. Have tested it on my machine ✅
Previously
scale_factor
was only calculated on a Display level. This PR updates the function to also work on Window targets as well.This is the macOS equivalent of PR #85 (for Windows OS)
It also adds a
CGWindowID
so people can get the underlying raw_window_handle from there.