Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cocoa: Warp mouse to center of window before enabling relative mouse.
This prevents the case where the mouse might be at the edge of the window when enabling relative mode, which confuses macOS, at it might believe the user is attempting to resize the window. Fixes libsdl-org#6994. (cherry picked from commit 2afb49b)
- Loading branch information