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. --HG-- branch : SDL-1.2
This commit is contained in:
parent
9ec5f91810
commit
e0e5377a72
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ void QZ_PrivateWarpCursor (_THIS, int x, int y) {
|
|||
CGEventSourceSetLocalEventsSuppressionInterval(evsrc, 0.0);
|
||||
CGWarpMouseCursorPosition (cgp);
|
||||
CFRelease(evsrc);
|
||||
SDL_PrivateAppActive (QZ_IsMouseInWindow (this), SDL_APPMOUSEFOCUS);
|
||||
}
|
||||
|
||||
void QZ_WarpWMCursor (_THIS, Uint16 x, Uint16 y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue