Skip to content

xwayland: Delay selection notify until focused #1439

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

Drakulix
Copy link
Member

Fix for #1233

Needs a bit more testing, but seems to work around the problem of wine (and other x11 apps) requesting new selection as soon as they get the notify, following in getting denied due to lack of focus.

@Drakulix
Copy link
Member Author

Looks all good.

Tested both clipboard and primary selection with a variety of apps:

  • cosmic-edit (wayland; no primary selection support yet)
  • gedit (wayland)
  • wine notepad (x11; no primary selection support)
  • mattermost (electron; x11)
  • wireshark (x11)
  • inkscape (x11)

@Drakulix Drakulix merged commit 087ebaa into master May 30, 2025
6 checks passed
@Drakulix Drakulix deleted the xwayland-clipboard_noble branch May 30, 2025 16:32
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