From f2d6d21eec2f2a7fc7c855a4157227cc2d3648d6 Mon Sep 17 00:00:00 2001 From: shierote Date: Tue, 29 Mar 2022 10:22:59 +0900 Subject: [PATCH] libweston: correct argument name in the handler of wl_data_source.accept Signed-off-by: Taishi Eguchi --- libweston/clipboard.c | 2 +- libweston/data-device.c | 2 +- xwayland/dnd.c | 2 +- xwayland/selection.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libweston/clipboard.c b/libweston/clipboard.c index 7d60351a..a82d8fe8 100644 --- a/libweston/clipboard.c +++ b/libweston/clipboard.c @@ -110,7 +110,7 @@ clipboard_source_data(int fd, uint32_t mask, void *data) static void clipboard_source_accept(struct weston_data_source *source, - uint32_t time, const char *mime_type) + uint32_t serial, const char *mime_type) { } diff --git a/libweston/data-device.c b/libweston/data-device.c index 3c627346..fe997ba8 100644 --- a/libweston/data-device.c +++ b/libweston/data-device.c @@ -1239,7 +1239,7 @@ destroy_data_source(struct wl_resource *resource) static void client_source_accept(struct weston_data_source *source, - uint32_t time, const char *mime_type) + uint32_t serial, const char *mime_type) { wl_data_source_send_target(source->resource, mime_type); } diff --git a/xwayland/dnd.c b/xwayland/dnd.c index aea0845f..01918e16 100644 --- a/xwayland/dnd.c +++ b/xwayland/dnd.c @@ -51,7 +51,7 @@ struct dnd_data_source { static void data_source_accept(struct weston_data_source *base, - uint32_t time, const char *mime_type) + uint32_t serial, const char *mime_type) { struct dnd_data_source *source = (struct dnd_data_source *) base; xcb_client_message_event_t client_message; diff --git a/xwayland/selection.c b/xwayland/selection.c index c4845f20..b68988ec 100644 --- a/xwayland/selection.c +++ b/xwayland/selection.c @@ -152,7 +152,7 @@ struct x11_data_source { static void data_source_accept(struct weston_data_source *source, - uint32_t time, const char *mime_type) + uint32_t serial, const char *mime_type) { }