Ignore:
Timestamp:
May 16, 2003, 11:21:00 AM (22 years ago)
Author:
sandervl
Message:

PF: Eat first WM_MOUSEMOVE while menu tracking like windows does; SvL: Use our fast critical sections instead of OS/2 mutex semaphores in the timer code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/menu.c

    r10017 r10102  
    27322732    BOOL enterIdleSent = FALSE;
    27332733#ifdef __WIN32OS2__
    2734     BOOL bSysMenu = FALSE;
     2734    BOOL bSysMenu = FALSE, bFirstMouseMove = TRUE;
    27352735#endif
    27362736
     
    29222922
    29232923#ifdef __WIN32OS2__
    2924                     if ( !fOS2Look ||
     2924                    //PF Win32 eats first mousemove to prevent auto-select of item
     2925                    //on TrackMenuPopup pressed button - verified in Win2k
     2926                    if (bFirstMouseMove)
     2927                    {
     2928                        bFirstMouseMove = FALSE;
     2929                        break;
     2930                    }
     2931
     2932                    if (!fOS2Look ||
    29252933#else
    29262934                    if ( (TWEAK_WineLook > WIN31_LOOK) ||
Note: See TracChangeset for help on using the changeset viewer.