Mercurial > sdl-ios-xcode
view Watcom.mif @ 1207:c9ec00d3e8bc
To: sdl@libsdl.org
From: Christian Walther <cwalther@gmx.ch>
Date: Wed, 21 Dec 2005 13:39:39 +0100
Subject: [SDL] Another mouse bug patch for Mac OS X
Oh my, yet another change in the quartz mouse handling code! :)
The attached patch fixes the following bug:
Calling SDL_WarpMouse() while the cursor is invisible and grabbed should
only update SDL's internal mouse location, not try to warp the system
cursor (which is not at that location, but fixed in the middle of the
window). Otherwise, the next mouse motion event is wrong.
Please apply.
Thanks
Christian
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 21 Dec 2005 18:02:36 +0000 |
parents | 173c063d4f55 |
children |
line wrap: on
line source
#============================================================================= # This file contains the common includes for the # Watcom makefiles to build SDL.DLL for OS/2 # # #============================================================================= # Create debug build or not? #debug_build=defined # Special flags for building SDL SDLCFlags = -dBUILD_SDL -dCHECK_LEAKS # #============================================================================== # !ifdef debug_build debugflags = -d2 -dDEBUG_BUILD !else debugflags = !endif cflags = -zq $(debugflags) -bd -bm -bt=OS2 -5s -fpi -sg -otexan -wx -ei $(SDLCFlags) $(ExtraCFlags) .extensions: .extensions: .lib .dll .obj .c .asm .c.obj : .AUTODEPEND wcc386 $[* $(cflags) .asm.obj : .AUTODEPEND nasm -t -O2 -f obj -I$(%include) $[*.asm