Another mouse bug patch for Mac OS X

Oh my, yet another change in the quartz mouse handling code! :slight_smile:

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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL-quartz-warpbug.patch
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20051221/394288e8/attachment.asc

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.

This is in CVS now, thanks!

–ryan.