summaryrefslogtreecommitdiff
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
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>
-rw-r--r--libweston/clipboard.c2
-rw-r--r--libweston/data-device.c2
-rw-r--r--xwayland/dnd.c2
-rw-r--r--xwayland/selection.c2
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)
{
}