12 Jul
2022
12 Jul
'22
3:01 p.m.
Jinoh Kang (@iamahuman) commented about dlls/win32u/window.c:
return FALSE; }
+ root = NtUserGetAncestor(hwnd, GA_ROOT); + root = NtUserGetAncestor(root, GA_PARENT); + if (root == get_hwnd_message_parent()) + return TRUE; +
`NtUserSetWindowPos` isn't the only function that changes the window position (c.f. DeferWindowPos, MoveWindow). Perhaps you meant to patch `set_window_pos` instead? I suppose this needs extra tests. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/419#note_3966