mirror of
https://github.com/encounter/SDL.git
synced 2025-05-23 15:51:23 +00:00
Fixed mouse warp after resizing window on macOS.
This commit is contained in:
parent
7c7cd2a605
commit
cdf312c83d
@ -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]];
|
||||
|
Loading…
x
Reference in New Issue
Block a user