Fix primary clipboard issues

This commit is contained in:
emersion 2017-12-22 23:45:07 +01:00
parent a95d09d561
commit 4476f79850
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 21 additions and 19 deletions

View file

@ -20,10 +20,7 @@ struct wlr_primary_selection_source {
struct wlr_seat_client *seat_client;
struct wl_array mime_types;
bool accepted;
void (*accept)(struct wlr_primary_selection_source *source, uint32_t serial,
const char *mime_type);
void (*send)(struct wlr_primary_selection_source *source,
const char *mime_type, int32_t fd);
void (*cancel)(struct wlr_primary_selection_source *source);
@ -40,6 +37,8 @@ struct wlr_primary_selection_offer {
struct wlr_primary_selection_source *source;
struct wl_listener source_destroy;
void *data;
};
struct wlr_primary_selection_device_manager *