From c0c8e1ce5e3aeae1d49178a0a99d9cfe79b891d5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 5 Sep 2018 20:04:38 +0530 Subject: [PATCH] Fill up the rest of the v1 data_source listener struct --- glfw/wl_window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glfw/wl_window.c b/glfw/wl_window.c index e5a6fd2f1..271ac1d62 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -1518,9 +1518,13 @@ static void data_source_canceled(void *data, struct wl_data_source *wl_data_sour wl_data_source_destroy(wl_data_source); } +static void data_source_target(void *data, struct wl_data_source *wl_data_source, const char* mime) { +} + const static struct wl_data_source_listener data_source_listener = { .send = _glfwSendClipboardText, .cancelled = data_source_canceled, + .target = data_source_target, }; static void prune_unclaimed_data_offers() {