April 28, 2026
4:03 p.m.
On Tue Apr 28 15:23:37 2026 +0000, Zhiyi Zhang wrote:
Avoiding the NtUserActivateWindow as well, which would then become unnecessary? Some applications expect a WM_ACTIVATE from NtUserActivateWindow(), so I don't think it can be removed. But set_foreground_window should do that too, whenever it is called by the foreground thread giving up focus.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10725#note_138013