Fixed order for entering critical sections (X11 vs. WndLock) when
calling X11DRV_MOUSE_SetCursor.
This commit is contained in:
parent
d523e4dbe6
commit
ab450aad07
|
@ -178,9 +178,11 @@ static BOOL X11DRV_MOUSE_DoSetCursor( CURSORICONINFO *ptr )
|
|||
*/
|
||||
void X11DRV_MOUSE_SetCursor( CURSORICONINFO *lpCursor )
|
||||
{
|
||||
WIN_LockWnds();
|
||||
EnterCriticalSection( &X11DRV_CritSection );
|
||||
CALL_LARGE_STACK( X11DRV_MOUSE_DoSetCursor, lpCursor );
|
||||
LeaveCriticalSection( &X11DRV_CritSection );
|
||||
WIN_UnlockWnds();
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue