summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/wldatadevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/wldatadevice.cpp')
-rw-r--r--src/compositor/wayland_wrapper/wldatadevice.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/compositor/wayland_wrapper/wldatadevice.cpp b/src/compositor/wayland_wrapper/wldatadevice.cpp
index 99127efe7..06c036ec6 100644
--- a/src/compositor/wayland_wrapper/wldatadevice.cpp
+++ b/src/compositor/wayland_wrapper/wldatadevice.cpp
@@ -56,10 +56,15 @@ void DataDevice::start_drag(struct wl_client *client,
struct wl_resource *surface,
uint32_t time)
{
+ Q_UNUSED(client);
+ Q_UNUSED(surface);
+ Q_UNUSED(time);
+
DataDevice *data_device = static_cast<DataDevice *>(resource->data);
DataSource *data_source = static_cast<DataSource *>(source->data);
-
+ Q_UNUSED(data_device);
+ Q_UNUSED(data_source);
}
void DataDevice::attach(struct wl_client *client,
@@ -69,7 +74,12 @@ void DataDevice::attach(struct wl_client *client,
int32_t x,
int32_t y)
{
-
+ Q_UNUSED(client);
+ Q_UNUSED(resource);
+ Q_UNUSED(time);
+ Q_UNUSED(buffer);
+ Q_UNUSED(x);
+ Q_UNUSED(y);
}
void DataDevice::set_selection(struct wl_client *client,
@@ -77,6 +87,8 @@ void DataDevice::set_selection(struct wl_client *client,
struct wl_resource *source,
uint32_t time)
{
+ Q_UNUSED(client);
+ Q_UNUSED(time);
DataDevice *data_device = static_cast<DataDevice *>(data_device_resource->data);
DataSource *data_source = static_cast<DataSource *>(source->data);