- Timestamp:
- May 16, 2003, 11:21:00 AM (22 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.c
r10017 r10102 2732 2732 BOOL enterIdleSent = FALSE; 2733 2733 #ifdef __WIN32OS2__ 2734 BOOL bSysMenu = FALSE ;2734 BOOL bSysMenu = FALSE, bFirstMouseMove = TRUE; 2735 2735 #endif 2736 2736 … … 2922 2922 2923 2923 #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 || 2925 2933 #else 2926 2934 if ( (TWEAK_WineLook > WIN31_LOOK) || -
trunk/src/user32/timer.cpp
r6269 r10102 1 /* $Id: timer.cpp,v 1.1 4 2001-07-09 18:09:13sandervl Exp $ */1 /* $Id: timer.cpp,v 1.15 2003-05-16 09:21:00 sandervl Exp $ */ 2 2 3 3 /* … … 23 23 #include "oslibutil.h" 24 24 #include "timer.h" 25 #include <odincrt.h> 25 26 26 27 #define DBG_LOCALLOG DBG_timer … … 52 53 static TIMER TimersArray[NB_TIMERS]; 53 54 54 HMTX hSemTimer;55 static CRITICAL_SECTION_OS2 timercritsect = {0}; 55 56 56 57 inline void EnterCriticalSection (void) 57 58 { 58 if ( hSemTimer == NULLHANDLE)59 Dos CreateMutexSem (NULL, &hSemTimer, 0L, 1);60 else 61 DosRequestMutexSem (hSemTimer, SEM_INDEFINITE_WAIT);59 if (timercritsect.hmtxLock == 0) 60 DosInitializeCriticalSection(&timercritsect, NULL); 61 62 DosEnterCriticalSection(&timercritsect); 62 63 } 63 64 64 65 inline void LeaveCriticalSection (void) 65 66 { 66 Dos ReleaseMutexSem (hSemTimer);67 DosLeaveCriticalSection(&timercritsect); 67 68 } 68 69
Note:
See TracChangeset
for help on using the changeset viewer.