Sept. 23, 2024
10:42 a.m.
Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/opengl.c:
gl->hwnd = hwnd; gl->swap_interval = 1;
+ NtUserGetClientRect(gl->hwnd, &client_rect, NtUserGetDpiForWindow(gl->hwnd));
When creating pbuffers we have hwnd=0, which causes `NtUserGetClientRect` to fail and client_rect to remain uninitialized, leading to problems below. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6323#note_83040