# HG changeset patch # User Ryan C. Gordon # Date 1325468731 18000 # Node ID 5f0b3693ab603d752d7b250606414730d278073d # Parent 57574a485acb61d20cd5297a9a7803e2657da3d9 Throw around some QZ_UpdateCursor() calls to fix wrongly-shown system cursor. Fixes Bugzilla #1339. diff -r 57574a485acb -r 5f0b3693ab60 src/video/quartz/SDL_QuartzEvents.m --- a/src/video/quartz/SDL_QuartzEvents.m Mon Jan 02 00:48:56 2012 -0500 +++ b/src/video/quartz/SDL_QuartzEvents.m Sun Jan 01 20:45:31 2012 -0500 @@ -721,6 +721,8 @@ QZ_GetMouseLocation (this, &p); SDL_PrivateMouseMotion (0, 0, p.x, p.y); } + + QZ_UpdateCursor(this); } void QZ_DoDeactivate (_THIS) { diff -r 57574a485acb -r 5f0b3693ab60 src/video/quartz/SDL_QuartzWM.m --- a/src/video/quartz/SDL_QuartzWM.m Mon Jan 02 00:48:56 2012 -0500 +++ b/src/video/quartz/SDL_QuartzWM.m Sun Jan 01 20:45:31 2012 -0500 @@ -436,6 +436,7 @@ QZ_ChangeGrabState (this, QZ_DISABLE_GRAB); current_grab_mode = doGrab ? SDL_GRAB_ON : SDL_GRAB_OFF; + QZ_UpdateCursor(this); } return current_grab_mode;