aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-22 23:45:07 +0100
committeremersion <contact@emersion.fr>2017-12-22 23:45:07 +0100
commit4476f798508341b9ac931f9e623d7b77197a163a (patch)
tree04bdbc91db529c82f87786019f00ba3ab53f824e /include
parenta95d09d56181fe9bd639239b723942c5a333a245 (diff)
Fix primary clipboard issues
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 *