summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-02-12 09:54:28 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2021-02-12 18:25:51 +0100
commitbfa78aedc089712a2c21225b63bd58ec12d2e926 (patch)
tree7b3f3fbbf325861dfa382482b2c904029c2b50d4 /src/plugins
parent95712c5e5438e4eb5cd205ab4659febf3192137a (diff)
Fix Wacom Art Pen detection on xcb
Fixes: QTBUG-91102 Change-Id: I6cd7af26153457609c1fa8fb0a9e167939d592fc Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection_xi2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp b/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
index f69655e403..5c455cf296 100644
--- a/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
@@ -204,7 +204,8 @@ static const QPointingDevice *tabletToolInstance(QPointingDevice *master, const
if (pointerTypeOverride != QPointingDevice::PointerType::Unknown)
pointerType = pointerTypeOverride;
const QPointingDevice *ret = QPointingDevicePrivate::queryTabletDevice(devType, pointerType,
- QPointingDeviceUniqueId::fromNumericId(uniqueId), id);
+ QPointingDeviceUniqueId::fromNumericId(uniqueId),
+ caps, id);
if (!ret) {
ret = new QPointingDevice(tabletName, id, devType, pointerType, caps, 1, buttonCount,
master ? master->seatName() : QString(),