aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-07 16:39:03 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-07 16:39:03 -0400
commit1fd81ebf2d91e6851a1d3d744822ba6fd5cef0eb (patch)
tree75cc276a3356fc1c073e0e541cb549b965f8cac5
parent51de39888501bfaa2772063e78ba90e821b27c7e (diff)
wlr-data-source: add set_actions stub
-rw-r--r--types/wlr_data_source.c8
1 files changed, 7 insertions, 1 deletions
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) {