mirror of https://github.com/encounter/SDL.git
2fdbae22cb
It doesn't appear to work anymore, and was disabled by default anyhow, since the needed APIs are forbidden on the Mac App Store. A better solution to lock the mouse to the window on macOS would still be welcome. CGAssociateMouseAndMouseCursorPosition() works fine for relative mouse mode, this was just a question of SDL_SetWindowGrab(). As it stands now, a grabbed mouse can briefly break out of the window, causing varying degrees of chaos. |
||
---|---|---|
.. | ||
SDL | ||
SDLTest | ||
XcodeDocSet |