summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorshierote <taishi2060@gmail.com>2022-03-29 10:22:59 +0900
committerDaniel Stone <daniels@collabora.com>2022-04-14 12:05:57 +0000
commitf2d6d21eec2f2a7fc7c855a4157227cc2d3648d6 (patch)
tree2eb7d0c277b0a87fdc4b8158ae1d8b87bdcde019 /xwayland
parent87bded8b54564edaecf9b44dbd0f0dc0bf33f426 (diff)
downloadweston-f2d6d21eec2f2a7fc7c855a4157227cc2d3648d6.tar.gz
libweston: correct argument name in the handler of wl_data_source.accept
Signed-off-by: Taishi Eguchi <taishi2060@gmail.com>
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/dnd.c2
-rw-r--r--xwayland/selection.c2
2 files changed, 2 insertions, 2 deletions
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)
{
}