Fill up the rest of the v1 data_source listener struct

This commit is contained in:
Kovid Goyal 2018-09-05 20:04:38 +05:30
parent 6a3d6191bd
commit c0c8e1ce5e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

4
glfw/wl_window.c vendored
View File

@ -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() {