From 1fd81ebf2d91e6851a1d3d744822ba6fd5cef0eb Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Sat, 7 Oct 2017 16:39:03 -0400 Subject: [PATCH] wlr-data-source: add set_actions stub --- types/wlr_data_source.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types/wlr_data_source.c b/types/wlr_data_source.c index 542b1135..be9547cf 100644 --- a/types/wlr_data_source.c +++ b/types/wlr_data_source.c @@ -85,9 +85,15 @@ static void data_source_destroy(struct wl_client *client, struct wl_resource *re 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 = { .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) {