mira-screen-share / sharer

A screen-sharing / remote collaboration software written in Rust
GNU General Public License v3.0
399 stars 21 forks source link

Fix DPI-awareness issue by using resolution from GraphicsCaptureItem #9

Closed harrynull closed 1 year ago

harrynull commented 1 year ago

This fixes https://mira-screen-share.atlassian.net/browse/MIRA-80

GraphicsCaptureItem should (hopefully) always return the correct resolution regradless of DPI settings and DPI-awareness of the progrem.

Display names are removed because they were not user-friendly name anyways (something like \.\DISPLAY1)