diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-09-04 11:47:13 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2019-09-09 18:39:39 +0000 |
commit | b1a534a536892035fdf1e826a066bda6ab34b93a (patch) | |
tree | 7b87b7960d0c486fe7f84b41ee6024e3c155a304 /src/client/qwaylandinputdevice_p.h | |
parent | 481490ff476486534748275d544045e37badbc30 (diff) |
Client: Fix touch rounding errors
Touch now accounts for fractional input in the same way as for pointer
input.
Task-number: QTBUG-77457
Change-Id: I18e633bf7c7033187a641f757b8b24f52479971a
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/qwaylandinputdevice_p.h')
-rw-r--r-- | src/client/qwaylandinputdevice_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h index b0b022161..143e11220 100644 --- a/src/client/qwaylandinputdevice_p.h +++ b/src/client/qwaylandinputdevice_p.h @@ -167,7 +167,7 @@ private: uint32_t mSerial = 0; void seat_capabilities(uint32_t caps) override; - void handleTouchPoint(int id, double x, double y, Qt::TouchPointState state); + void handleTouchPoint(int id, Qt::TouchPointState state, const QPointF &surfacePosition = QPoint()); QTouchDevice *mTouchDevice = nullptr; |