aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-13 07:58:46 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-15 05:59:52 -0400
commit25831d287eb03d9d61cf4fd476e3d463124d1fce (patch)
tree00f8bb05d1e591d739cd5538191a31b3192a02cb /include
parent3892acecac773b825532f84da4671c2a55f5e82a (diff)
wlr-data-device: offer set actions
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_data_device.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h
index 5cb839bd..d5be311f 100644
--- a/include/wlr/types/wlr_data_device.h
+++ b/include/wlr/types/wlr_data_device.h
@@ -11,6 +11,10 @@ struct wlr_data_offer {
struct wl_resource *resource;
struct wlr_data_source *source;
+ uint32_t dnd_actions;
+ enum wl_data_device_manager_dnd_action preferred_dnd_action;
+ bool in_ask;
+
struct wl_listener source_destroy;
};
@@ -22,8 +26,10 @@ struct wlr_data_source {
bool accepted;
- // TODO
- //bool actions_set;
+ // drag and drop
+ enum wl_data_device_manager_dnd_action current_dnd_action;
+ uint32_t dnd_actions;
+ uint32_t compositor_action;
struct {
struct wl_signal destroy;