wlr-data-device: offer set actions

This commit is contained in:
Tony Crisci 2017-10-13 07:58:46 -04:00
parent 3892acecac
commit 25831d287e
2 changed files with 104 additions and 3 deletions

View file

@ -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;