Skip to content

Comments

gamescope_set_selection: Check that context is not NULL before using it#2082

Open
Jookia wants to merge 1 commit intoValveSoftware:masterfrom
Jookia:sdl34fix
Open

gamescope_set_selection: Check that context is not NULL before using it#2082
Jookia wants to merge 1 commit intoValveSoftware:masterfrom
Jookia:sdl34fix

Conversation

@Jookia
Copy link

@Jookia Jookia commented Feb 11, 2026

SDL 3.4 sends a clipboard event at program start, and this can happen before the Xwayland servers are set up properly. Don't try to set the selection when a server lacks an invalid context.

SDL 3.4 sends a clipboard event at program start, and this can happen before
the Xwayland servers are set up properly. Don't try to set the selection
when a server lacks an invalid context.
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.

1 participant