Skip to content
Permalink
Browse files

Throw around some QZ_UpdateCursor() calls to fix wrongly-shown system…

… cursor.

Fixes Bugzilla #1339.
  • Loading branch information
icculus committed Jan 2, 2012
1 parent 762aa7a commit fcd163399e8939a7bf9a442b39670feff5f5738c
Showing with 3 additions and 0 deletions.
  1. +2 −0 src/video/quartz/SDL_QuartzEvents.m
  2. +1 −0 src/video/quartz/SDL_QuartzWM.m
@@ -721,6 +721,8 @@ void QZ_DoActivate (_THIS) {
QZ_GetMouseLocation (this, &p);
SDL_PrivateMouseMotion (0, 0, p.x, p.y);
}

QZ_UpdateCursor(this);
}

void QZ_DoDeactivate (_THIS) {
@@ -436,6 +436,7 @@ SDL_GrabMode QZ_GrabInput (_THIS, SDL_GrabMode grab_mode) {
QZ_ChangeGrabState (this, QZ_DISABLE_GRAB);

current_grab_mode = doGrab ? SDL_GRAB_ON : SDL_GRAB_OFF;
QZ_UpdateCursor(this);
}

return current_grab_mode;

0 comments on commit fcd1633

Please sign in to comment.