diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-11-26 16:38:55 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-12-15 19:03:24 +0100 |
commit | ac210c73e43621f942d3cb947eef036fc5e7646e (patch) | |
tree | 4dd3a8b435525a520d6a0176ad6078fbbdbfdd2f /src/plugins/platforms/xcb/xcb_qpa_lib.pro | |
parent | 50e1976437f645e9d6571d4498e9d44388e59c19 (diff) |
xcb: report wheel events from the correct device instance
Until now, all wheel events came from one "core pointer". It's useful
in Qt Quick to tell the devices apart, because some support smooth scrolling
and some don't.
Also remove the QHash storing legacy ScrollingDevice structs, and use
a subclass of QPointingDevicePrivate instead.
Task-number: QTBUG-46412
Task-number: QTBUG-72167
Task-number: QTBUG-69433
Change-Id: Ie6a3d8dd494f981e8706b9a66a1021dfb51baec4
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/xcb_qpa_lib.pro')
-rw-r--r-- | src/plugins/platforms/xcb/xcb_qpa_lib.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/xcb_qpa_lib.pro b/src/plugins/platforms/xcb/xcb_qpa_lib.pro index bb57e16ab5..29eb2906e9 100644 --- a/src/plugins/platforms/xcb/xcb_qpa_lib.pro +++ b/src/plugins/platforms/xcb/xcb_qpa_lib.pro @@ -13,6 +13,7 @@ SOURCES = \ qxcbconnection.cpp \ qxcbintegration.cpp \ qxcbkeyboard.cpp \ + qxcbscrollingdevice.cpp \ qxcbmime.cpp \ qxcbscreen.cpp \ qxcbwindow.cpp \ @@ -35,6 +36,7 @@ HEADERS = \ qxcbconnection.h \ qxcbintegration.h \ qxcbkeyboard.h \ + qxcbscrollingdevice_p.h \ qxcbmime.h \ qxcbobject.h \ qxcbscreen.h \ |