Edit

kc3-lang/SDL/Xcode

Branch :

  • Show log

    Commit

  • Author : Ryan C. Gordon
    Date : 2021-04-26 18:43:28
    Hash : 2fdbae22
    Message : cocoa: Remove mouse event tap. 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.