wlr-data-source: add set_actions stub

This commit is contained in:
Tony Crisci 2017-10-07 16:39:03 -04:00
parent 51de398885
commit 1fd81ebf2d
1 changed files with 7 additions and 1 deletions

View File

@ -85,9 +85,15 @@ static void data_source_destroy(struct wl_client *client, struct wl_resource *re
wl_resource_destroy(resource); wl_resource_destroy(resource);
} }
static void data_source_set_actions(struct wl_client *client,
struct wl_resource *resource, uint32_t dnd_actions) {
wlr_log(L_DEBUG, "TODO: data source set actions");
}
static struct wl_data_source_interface wl_data_source_impl = { static struct wl_data_source_interface wl_data_source_impl = {
.offer = data_source_offer, .offer = data_source_offer,
.destroy = data_source_destroy .destroy = data_source_destroy,
.set_actions = data_source_set_actions,
}; };
static void destroy_wl_data_source(struct wl_resource *resource) { static void destroy_wl_data_source(struct wl_resource *resource) {