swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 5db2b5a16cef8259a40dac59087b3f41cd390b57
parent b91efe6ddb16f997e9b7ddc8d9a32c0668af92b6
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 29 Dec 2019 21:50:44 -0800

data_device: Support protocol version 2

Diffstat:
Mlibswc/data_device.c | 1+
Mlibswc/data_device_manager.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libswc/data_device.c b/libswc/data_device.c @@ -59,6 +59,7 @@ set_selection(struct wl_client *client, struct wl_resource *resource, struct wl_ static const struct wl_data_device_interface data_device_impl = { .start_drag = start_drag, .set_selection = set_selection, + .release = destroy_resource, }; static void diff --git a/libswc/data_device_manager.c b/libswc/data_device_manager.c @@ -63,5 +63,5 @@ bind_data_device_manager(struct wl_client *client, void *data, uint32_t version, struct wl_global * data_device_manager_create(struct wl_display *display) { - return wl_global_create(display, &wl_data_device_manager_interface, 1, NULL, &bind_data_device_manager); + return wl_global_create(display, &wl_data_device_manager_interface, 2, NULL, &bind_data_device_manager); }