25 Nov
2025
25 Nov
'25
10:52 a.m.
Rémi Bernon (@rbernon) commented about dlls/win32u/window.c:
if ((!(style & (WS_POPUP | WS_CHILD)) || ((style & (WS_POPUP | WS_CHILD | WS_CAPTION)) == (WS_POPUP | WS_CAPTION))) + && first_window && !get_window_relative( hwnd, GW_OWNER ) && InterlockedExchange( &first_window, 0 ))
I think first_window should be read with ReadNoFence at least, at it's written through atomic ops. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9578#note_123626