mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[NTUSER] Fix system menu mouse handing (#5822)
Add a check for the system menu opened from the app icon. Fixes CORE-19258
This commit is contained in:
parent
c1b12b3f46
commit
64997887eb
1 changed files with 5 additions and 2 deletions
|
@ -3555,7 +3555,9 @@ static BOOL FASTCALL MENU_ButtonDown(MTRACKER* pmt, PMENU PtMenu, UINT Flags)
|
|||
{
|
||||
UINT id = 0;
|
||||
PITEM item;
|
||||
if (IS_SYSTEM_MENU(PtMenu))
|
||||
|
||||
// Special check for the icon system menu
|
||||
if (IS_SYSTEM_MENU(PtMenu) && !(PtMenu->fFlags & MNF_POPUP))
|
||||
{
|
||||
item = PtMenu->rgItems;
|
||||
}
|
||||
|
@ -3599,7 +3601,8 @@ static INT FASTCALL MENU_ButtonUp(MTRACKER *pmt, PMENU PtMenu, UINT Flags)
|
|||
UINT Id = 0;
|
||||
ITEM *item;
|
||||
|
||||
if ( IS_SYSTEM_MENU(PtMenu) )
|
||||
// Special check for the icon system menu
|
||||
if (IS_SYSTEM_MENU(PtMenu) && !(PtMenu->fFlags & MNF_POPUP))
|
||||
{
|
||||
item = PtMenu->rgItems;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue