aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_data_device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h
index 5bf52599..e82dfa60 100644
--- a/include/wlr/types/wlr_data_device.h
+++ b/include/wlr/types/wlr_data_device.h
@@ -35,9 +35,15 @@ struct wlr_data_device_manager {
void *data;
};
+enum wlr_data_offer_type {
+ WLR_DATA_OFFER_SELECTION,
+ WLR_DATA_OFFER_DRAG,
+};
+
struct wlr_data_offer {
struct wl_resource *resource;
struct wlr_data_source *source;
+ enum wlr_data_offer_type type;
uint32_t actions;
enum wl_data_device_manager_dnd_action preferred_action;