| Summary: | osx cursor can move out of window while grabbed | ||
|---|---|---|---|
| Product: | SDL | Reporter: | vperus |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | 2.0.5 | ||
| Hardware: | x86_64 | ||
| OS: | macOS 10.12 | ||
|
Description
vperus
2017-06-22 21:57:55 UTC
Have you tried compiling SDL with SDL_MAC_NO_SANDBOX defined? It enables a better method of mouse grabbing which should fix the issues you're seeing. The reason why it's not used by default is, as the name implies, it's disallowed by the Mac App Store sandboxing rules. Also I run it on my VM. Use brew for downloading SDL. Will try to comiple manually with SDL_MAC_NO_SANDBOX. ./confine CFLAGS="-DSDL_MAC_NO_SANDBOX" didnt help. Have you tried it running natively with defining SDL_MAC_NO_SANDBOX? You can always get the mouse cursor out of a VM. Also, did you confirm that the flag was making it into the compile? (In reply to Sam Lantinga from comment #4) > Have you tried it running natively with defining SDL_MAC_NO_SANDBOX? You can > always get the mouse cursor out of a VM. > > Also, did you confirm that the flag was making it into the compile? No I didn't, only on VM. CFLAGS variable in Makefile has -DSDL_MAC_NO_SANDBOX Please try running natively instead of in a VM and see if you still see the problem. |