referring to: https://github.com/libsdl-org/SDL/issues/5340 When I enable relative mode, the mouse cursor is hidden correctly. However it stops at the edge of the screen. I've tried all combinations of hints. When I manually set the mouse cursor to the window center, it works while the cursor is visible. However not when it is hidden via set relative mode. Possibly a hardened runtime / macos "security feature" ?