mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NtUser]
- Fix mouse move auto selecting while tracking popup menu. See CORE-2338. svn path=/trunk/; revision=72517
This commit is contained in:
parent
81b5e2b655
commit
17a315285a
1 changed files with 8 additions and 0 deletions
|
@ -3471,7 +3471,15 @@ static BOOL FASTCALL MENU_MouseMove(MTRACKER *pmt, PMENU PtMenu, UINT Flags)
|
||||||
if ( PtMenu )
|
if ( PtMenu )
|
||||||
{
|
{
|
||||||
if (IS_SYSTEM_MENU(PtMenu))
|
if (IS_SYSTEM_MENU(PtMenu))
|
||||||
|
{
|
||||||
Index = 0;
|
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
|
else
|
||||||
MENU_FindItemByCoords( PtMenu, pmt->Pt, &Index );
|
MENU_FindItemByCoords( PtMenu, pmt->Pt, &Index );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue