selection: add support for TEXT/STRING/UTF8_STRING mime-types in incoming offers

We were already offering these mime types for our own clipboard data,
but ignored them in incoming offers.

Fixes paste issues from Geany.

Closes #583
This commit is contained in:
Daniel Eklöf 2021-06-09 09:51:07 +02:00
parent 2a75da4143
commit 49bb00fb64
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 21 additions and 6 deletions

View file

@ -122,6 +122,10 @@ enum data_offer_mime_type {
DATA_OFFER_MIME_TEXT_PLAIN,
DATA_OFFER_MIME_TEXT_UTF8,
DATA_OFFER_MIME_URI_LIST,
DATA_OFFER_MIME_TEXT_TEXT,
DATA_OFFER_MIME_TEXT_STRING,
DATA_OFFER_MIME_TEXT_UTF8_STRING,
};
struct wl_window;