-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird cursor behavior on M1 + Vulkan in fullscreen #143
Comments
I feel like this is some limitation on security recently on Macs but don't quote me 100% on that. I could have swore there was a commit in SDL about mouse grab on Macs in the last few months. Don't have ability to find it at the moment though. |
I don't understand how it can be a security thing though if it works by toggling fullscreen using the mouse-hold method... |
What SDL2 version? |
I'm guessing it's using the version of SDL2 installed by Homebrew, which is 2.0.20. I just tried uninstalling the homebrew version of SDL and rebuilding, and it failed to build - which tells me that indeed it was linking against it. It builds again after I run |
Does that seems related? |
I don't remember that being the case, no |
On macOS Vulkan on an M1, freshly compiled master, the cursor doesn't "grab" unless I press and hold the left mouse button.
To fix, I have to start the game, press and hold the left mouse button to move the cursor to Setup, let go, click, and do the same to move through System > Graphics > Full screen -> Off > Accept, then the game goes windowed and everything works fine, and then I turn fullscreen back on and everything works perfectly.
So weird. So I have to use this trick to turn fullscreen off and back on to get the cursor to move normally when I move the mouse.
The text was updated successfully, but these errors were encountered: