diff options
author | emersion <contact@emersion.fr> | 2018-12-09 17:27:37 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-24 12:18:40 +0100 |
commit | 909b3b16f3b7634dff02030123637ae94a012850 (patch) | |
tree | 7aa702ca5fdb0a48aedf8c06795645afb424481b /include/wlr | |
parent | 3f82eb185353d64277c77f82ca727948e87c4024 (diff) |
data-device: add wlr_data_offer.type
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_data_device.h | 6 |
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; |