mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-24 00:21:08 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (focusClickPending) {
|
||||||
|
focusClickPending = 0;
|
||||||
|
[self onMovingOrFocusClickPendingStateCleared];
|
||||||
|
}
|
||||||
|
|
||||||
window = _data.window;
|
window = _data.window;
|
||||||
nswindow = _data.nswindow;
|
nswindow = _data.nswindow;
|
||||||
rect = [nswindow contentRectForFrameRect:[nswindow frame]];
|
rect = [nswindow contentRectForFrameRect:[nswindow frame]];
|
||||||
|
|
Loading…
Reference in a new issue