On Wed Sep 10 14:18:30 2025 +0000, Ivan Lyugaev wrote:
Do I understand correctly that you are suggesting to add synchronization of such requests when passing them through NtUserPostMessage ? Will the option described above be suitable?
No, I don't think this needs more synchronization. Maybe the window normal rect should not be updated here. If the window is still maximized at that point (before sending SC_RESTORE) then it shouldn't.