aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_primary_selection.h5
1 files changed, 2 insertions, 3 deletions
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 *