Skip to content

SDL3: Fix relative mouse mode while grabbed - #19425

Merged
LibretroAdmin merged 2 commits into
libretro:masterfrom
RobLoach:fix/issue-27
Aug 17, 2026
Merged

SDL3: Fix relative mouse mode while grabbed#19425
LibretroAdmin merged 2 commits into
libretro:masterfrom
RobLoach:fix/issue-27

Conversation

@RobLoach

@RobLoach RobLoach commented Aug 17, 2026

Copy link
Copy Markdown
Member

When RetroArch enables mouse grab, we should also set the relative mouse mode so that captured mouse motion is not limited by the window edges:
https://wiki.libsdl.org/SDL3/SDL_SetWindowRelativeMouseMode

@LibretroAdmin
LibretroAdmin merged commit 1698ec0 into libretro:master Aug 17, 2026
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants