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

xwayland: fix clipboard mime name and atom mismatch #9137

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

DDoSolitary
Copy link
Contributor

Describe your PR, what does it fix/add?

The TARGETS and TIMESTAMP targets are skipped when processing the target list returned from X11 clipboard sources, but still added to the mimeAtoms list erroneously. As a result, the mimeAtoms and mimeTypes lists are out of sync and the target atom later passed to xcb_convert_selection will be incorrect if an mime type appearing after the aforementioned two targets is used.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

N/A

Is it ready for merging, or does it need work?

Y

Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@vaxerski vaxerski merged commit c90dbfa into hyprwm:main Jan 22, 2025
11 checks passed
littleblack111 pushed a commit to littleblack111/Hyprland that referenced this pull request Jan 25, 2025
@DDoSolitary DDoSolitary deleted the fix-xwayland-clipboard-mime branch February 8, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants