Fixed mouse warp after resizing window on macOS.
This commit is contained in:
1 parent
7c7cd2a605
commit
cdf312c83d
1 file changed
+5
@@ -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