From: James Tabor Date: Wed, 31 Aug 2016 02:24:14 +0000 (+0000) Subject: [NtUser] X-Git-Tag: backups/sndblst@72664~143 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=17a315285ad81440fcd630bc1c0cc2275f893341 [NtUser] - Fix mouse move auto selecting while tracking popup menu. See CORE-2338. svn path=/trunk/; revision=72517 --- diff --git a/reactos/win32ss/user/ntuser/menu.c b/reactos/win32ss/user/ntuser/menu.c index 0dc982534be..34db3d912e0 100644 --- a/reactos/win32ss/user/ntuser/menu.c +++ b/reactos/win32ss/user/ntuser/menu.c @@ -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 ); }