mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 15:21:43 +00:00
Fixed mouse warp after resizing window on macOS.
This commit is contained in:
@@ -790,6 +790,11 @@ Cocoa_UpdateClipCursor(SDL_Window * window)
|
||||
return;
|
||||
}
|
||||
|
||||
if (focusClickPending) {
|
||||
focusClickPending = 0;
|
||||
[self onMovingOrFocusClickPendingStateCleared];
|
||||
}
|
||||
|
||||
window = _data.window;
|
||||
nswindow = _data.nswindow;
|
||||
rect = [nswindow contentRectForFrameRect:[nswindow frame]];
|
||||
|
Reference in New Issue
Block a user