Skip to content
Browse files

Quartz: When warping the mouse, update the APPMOUSEFOCUS state.

Fixes cursor being visible in middle of window until the next mousemove event,
 when it has just been grabbed+hidden.
  • Loading branch information
icculus committed Nov 17, 2011
1 parent 7f9761f commit 5d19ed696bc3f060cbd5bc6120af19e7937656ce
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/quartz/SDL_QuartzWM.m
@@ -243,6 +243,7 @@ void QZ_PrivateWarpCursor (_THIS, int x, int y) {
CGEventSourceSetLocalEventsSuppressionInterval(evsrc, 0.0);
CGWarpMouseCursorPosition (cgp);
SDL_PrivateAppActive (QZ_IsMouseInWindow (this), SDL_APPMOUSEFOCUS);

void QZ_WarpWMCursor (_THIS, Uint16 x, Uint16 y) {

0 comments on commit 5d19ed6

Please sign in to comment.