31 Mar
2023
31 Mar
'23
6:58 p.m.
On Fri Mar 31 18:09:32 2023 +0000, Esme Povirk wrote:
The message on line 3549 also has the wrong function name. These coordinates were based on the fact/assumption that when we create our HWND it's at position `0,0` on the screen. On my Win10 machine:
- rect[0] is (8,31)-(128,92) (Window client area) - rect[1] is (0,0)-(136,100) (Entire window including non-client area rectangle) So this should set width to 7, and height to 30, which should be within the bounding box of the non-client area and not the client area. I guess we should probably adjust them based on the coordinates of the entire window. Or I guess just a static width/height of 1 might do just as well... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2523#note_28520