summaryrefslogtreecommitdiff
path: root/src/client/qwaylandwindow.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-07-13 12:33:01 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2021-07-15 13:29:37 +0200
commita207bc0ef68a449f13ff6292294f9e53b273e834 (patch)
treeae2c48754b1c9c32f771969dcf6763badaa42904 /src/client/qwaylandwindow.cpp
parent8e30ebbbf0410a92c5907aef89c4097019fa6a00 (diff)
downloadqtwayland-a207bc0ef68a449f13ff6292294f9e53b273e834.tar.gz
Use QPointF for native gesture delta values
Needed after qtbase e3aa45006dc883adb92b4c94a0108d3b75012dce and de540c283d96630c189df9c9be37f68ad8285056. Pick-to: 6.2 Change-Id: Ieb199eca9d550d9e8e4963458508a91ec9db1728 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/client/qwaylandwindow.cpp')
-rw-r--r--src/client/qwaylandwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index 5ad4d754..2ca45259 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -1004,10 +1004,10 @@ void QWaylandWindow::handleSwipeGesture(QWaylandInputDevice *inputDevice,
return;
if (!e.delta.isNull()) {
- QWindowSystemInterface::handleGestureEventWithValueAndDeltas(
+ QWindowSystemInterface::handleGestureEventWithValueAndDelta(
window(), e.timestamp, inputDevice->mTouchPadDevice,
Qt::PanNativeGesture,
- 0, QVector2D(e.delta), e.local, e.global, e.fingers);
+ 0, e.delta, e.local, e.global, e.fingers);
}
break;
case Qt::GestureFinished:
@@ -1059,10 +1059,10 @@ void QWaylandWindow::handlePinchGesture(QWaylandInputDevice *inputDevice,
return;
if (!e.delta.isNull()) {
- QWindowSystemInterface::handleGestureEventWithValueAndDeltas(
+ QWindowSystemInterface::handleGestureEventWithValueAndDelta(
window(), e.timestamp, inputDevice->mTouchPadDevice,
Qt::PanNativeGesture,
- 0, QVector2D(e.delta), e.local, e.global, e.fingers);
+ 0, e.delta, e.local, e.global, e.fingers);
}
if (e.rotation_delta != 0) {
QWindowSystemInterface::handleGestureEventWithRealValue(window(), e.timestamp,