Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11: Use XFixes to detect clipboard updates #7951

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

ForTheReallys
Copy link
Contributor

Currently, SDL_CLIPBOARDUPDATE events are only sent when an SDL window has its selection cleared. This change sends the event anytime the XFixesSelectionNotify event is raised, and when the selection is either the clipboard or the primary selection.

Currently, SDL_CLIPBOARDUPDATE events are only sent when an SDL window
has its selection cleared.  This change sends the event anytime the
XFixesSelectionNotify event is raised, and when the selection is either
the clipboard or the primary selection.
@slouken
Copy link
Collaborator

slouken commented Jul 8, 2023

Looks good, thanks!

@slouken slouken merged commit acdde12 into libsdl-org:SDL2 Jul 8, 2023
37 checks passed
@sezero
Copy link
Contributor

sezero commented Jul 8, 2023

SDL3 needs a similar or same patch?

@slouken
Copy link
Collaborator

slouken commented Jul 8, 2023

Yes, @ForTheReallys, can you create a PR for main?

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.

3 participants