June 16, 2026
1:46 p.m.
I opened https://gitlab.winehq.org/wine/wine/-/merge_requests/11166 with more tests to better check how this is supposed to work wrt. monitor DPI scaling (which is a feature modern windows supports, and which we somehow replicate when display mode emulation is used). I adjusted the GetPointerDeviceRects implementation accordingly: the function always returns MDT_DEFAULT rects (ie: appears to change with display mode even when DPI scaling is actually used), one being scaled to thread DPI while the device one is in HIMETRICS instead and DPI awareness insensitive. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11163#note_143271