31 Mar
2023
31 Mar
'23
6:46 p.m.
On Fri Mar 31 18:08:48 2023 +0000, Esme Povirk wrote:
The documentation for GetClientRect says that it returns client coordinates (and that the upper-left corner is always 0,0), but the documentation for accLocation says that it returns screen coordinates. IIUC, the call to `MapWindowPoints()` here should convert from the client coordinates of the `hWndFrom` argument (our HWND) to the coordinates of the `hWndTo` argument (NULL here, which means desktop) which converts the coordinates to screen coordinates.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2523#note_28518