Skip to content

Conversation

@Kontrabant
Copy link
Contributor

Use the implicit grab serial when clearing the clipboard in Wayland, and add clipboard clearing functionality to testclipboard.

Fixes #14691

Some compositors won't clear the selection without a valid serial.
Use Alt+C/P to clear the clipboard/primary selection in testclipboard.
@Kontrabant Kontrabant merged commit 7fe81f7 into libsdl-org:main Dec 22, 2025
1 check passed
@Kontrabant Kontrabant deleted the wl_clear_serial2 branch December 22, 2025 18:29
@Kontrabant
Copy link
Contributor Author

Cherry-picked as well.

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.

Wayland: SDL_ClearClipboardData() does not work

1 participant