Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

gtk-primary-selection: basic serial validation #1429

Merged
merged 2 commits into from
Dec 9, 2018

Conversation

emersion
Copy link
Member

@emersion emersion commented Dec 9, 2018

I've discovered that some clients rely on the compositor for rejecting set_selection requests if the serial is invalid. For instance Gedit under Wayland issues multiple set_selection requests with the same serial, and not doing this basic serial validation will break clipboard.

While I haven't found any clients broken for primary selection, it's probably better to add back this basic serial validation, at least until we have a new improved validation mechanism.

@ddevault ddevault merged commit 25b1503 into swaywm:master Dec 9, 2018
@ddevault
Copy link
Contributor

ddevault commented Dec 9, 2018

Thanks!

@emersion emersion deleted the primary-serial-validation branch December 9, 2018 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants