mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-23 20:41:01 +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…
Reference in a new issue