On macOS, SDL relative mouse mode does not work correctly when the cursor is outside the window. As a workaround, move the cursor inside the window before setting the relative mouse mode. Refs SDL/#5340 <https://github.com/libsdl-org/SDL/issues/5340> PR #3031 <https://github.com/Genymobile/scrcpy/pull/3031>master
parent
9db42341e4
commit
3ee3f8dc02
Loading…
Reference in new issue