diff options
Diffstat (limited to 'src/plugins/platforms/wayland')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandinputdevice.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp index fd7a649..6d489b6 100644 --- a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp +++ b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp @@ -110,6 +110,7 @@ static Qt::KeyboardModifiers translateModifiers(int s) static uint32_t translateKey(uint32_t sym, char *string, size_t size) { + Q_UNUSED(size); string[0] = '\0'; switch (sym) { @@ -204,6 +205,10 @@ void QWaylandInputDevice::inputHandlePointerFocus(void *data, int32_t x, int32_t y, int32_t sx, int32_t sy) { Q_UNUSED(input_device); + Q_UNUSED(x); + Q_UNUSED(y); + Q_UNUSED(sx); + Q_UNUSED(sy); QWaylandInputDevice *inputDevice = (QWaylandInputDevice *) data; QWaylandWindow *window; @@ -229,6 +234,8 @@ void QWaylandInputDevice::inputHandleKeyboardFocus(void *data, struct wl_array *keys) { Q_UNUSED(input_device); + Q_UNUSED(time); + Q_UNUSED(keys); QWaylandInputDevice *inputDevice = (QWaylandInputDevice *) data; QWaylandWindow *window; |