mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
This PR resolves a bug of #8094. #8094 correctly validates the flags. TPM_SYSTEM_MENU is an internal flag and not a valid flag for TrackPopupMenu. Thus, calling TrackPopupMenu.TPM_SYSTEM_MENU in User32DefWindowProc was wrong. This caused failure of taskbar context menu. JIRA issue: CORE-20238 - Move WM_POPUPSYSTEMMENU message handling of user32 into win32k.sys!IntDefWindowProc. - Use win32k.sys!IntTrackPopupMenuEx instead of user32!TrackPopupMenu in handling of WM_POPUPSYSTEMMENU.