gamescope: SDL backend on Wayland for reliable streamed input #4
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
splitux-gg/splitux!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/gamescope-sdl-wayland"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
gamescope_sdl_backendconfig (default true) was gated to X11 sessions only via!is_wayland_session(), so it was a silent no-op on Wayland/niri.On a Wayland session the default headless-wayland gamescope backend does not cleanly take input injected by a remote-streaming host (Sunshine/Moonlight) — menu clicks die. The SDL backend (gamescope owns an SDL/XWayland window) takes that input correctly — which is exactly what Lutris uses by default.
This honors
gamescope_sdl_backendon Wayland too, and setsSDL_VIDEODRIVER=x11(XWayland) for the SDL backend on Wayland (setup_envruns beforeadd_args, so the re-set wins). Validated on Orebound under Moonlight: menu input went from dead → working.Note: users who prefer the wayland backend can set
gamescope_sdl_backend: false.