ec61f02c
by Zhiyi Zhang at 2026-04-29T22:45:37+02:00
win32u: Set the normal window position without going through NtUserSetInternalWindowPos().
Fix a regression from be60f77909fc9ce2c9b6f1abd005e3b4aabaafec, the intent of which was to restore
the win32 window position to the current host window position. However, NtUserSetInternalWindowPos()
eventually calls NtUserSetWindowPos() and NtUserShowWindow(). We don't want that because they might
generate window position change messages that applications might not expect.
Fix Homeworld Remastered Collection (244160) Homeworld 2 Classic black screen after restoring from
the minimized state in fullscreen mode due to an unexpected window size.