From f2d6d21eec2f2a7fc7c855a4157227cc2d3648d6 Mon Sep 17 00:00:00 2001 From: shierote Date: Tue, 29 Mar 2022 10:22:59 +0900 Subject: libweston: correct argument name in the handler of wl_data_source.accept Signed-off-by: Taishi Eguchi --- xwayland/dnd.c | 2 +- xwayland/selection.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xwayland') 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) { } -- cgit v1.2.1