July 3, 2026
10:13 a.m.
When display mode emulation is used, DPI values computed from monitor emulated resolution may cause precision loss and small window size and position innacuracies when converting virtual to physical coordinates. Based on patches from Paul Gofman. -- v3: server: Move window monitor DPI to the shared memory. win32u: Represent raw monitor dpi as rational value. server: Use the ratio struct for DPI values. win32u: Introduce a ratio struct for unix-side DPI values. win32u: Use internal helpers to get present / client rects and dpi. https://gitlab.winehq.org/wine/wine/-/merge_requests/11301