From 4476f798508341b9ac931f9e623d7b77197a163a Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 22 Dec 2017 23:45:07 +0100 Subject: Fix primary clipboard issues --- include/wlr/types/wlr_primary_selection.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_primary_selection.h b/include/wlr/types/wlr_primary_selection.h index e69feb89..a639b913 100644 --- a/include/wlr/types/wlr_primary_selection.h +++ b/include/wlr/types/wlr_primary_selection.h @@ -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 * -- cgit v1.2.3