- Fix mouse move auto selecting while tracking popup menu. See CORE-2338.

svn path=/trunk/; revision=72517
This commit is contained in:
James Tabor 2016-08-31 02:24:14 +00:00
parent 81b5e2b655
commit 17a315285a

View file

@ -3471,7 +3471,15 @@ static BOOL FASTCALL MENU_MouseMove(MTRACKER *pmt, PMENU PtMenu, UINT Flags)
if ( PtMenu )
{
if (IS_SYSTEM_MENU(PtMenu))
{
Index = 0;
//// ReactOS only HACK: CORE-2338
// Windows tracks mouse moves to the system menu but does not open it.
// Only keyboard tracking can do that.
//
TRACE("SystemMenu\n");
return TRUE; // Stay inside the Loop!
}
else
MENU_FindItemByCoords( PtMenu, pmt->Pt, &Index );
}