Fix macOS cursor jumping to corner on first titlebar click

This commit is contained in:
shinyquagsire23 2021-12-28 12:07:56 -08:00 committed by Sam Lantinga
parent a35a7d2507
commit 6a7b63802c
1 changed files with 1 additions and 0 deletions

View File

@ -465,6 +465,7 @@ Cocoa_UpdateClipCursor(SDL_Window * window)
pendingWindowOperation = PENDING_OPERATION_NONE;
isMoving = NO;
isDragAreaRunning = NO;
pendingWindowWarpX = pendingWindowWarpY = INT_MAX;
center = [NSNotificationCenter defaultCenter];