Work around mouse capture SDL bug on macOS
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>
R
Romain Vimont committed
3ee3f8dc027fe4e2d21ef144df4c29acbd709ee7
Parent: 9db4234