diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-03-08 15:56:07 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-24 12:12:29 +0000 |
commit | 84f0b4df0e880bcd68bd0e4781dfb340f4bd528f (patch) | |
tree | 1f8fbe38aab98168da51f1c0aa9e8183ac02c75c /src/corelib/Qt6CTestMacros.cmake | |
parent | 434c2a6be6124a89540060b2e883a14b529b5e06 (diff) |
xcb: use QXcbScrollingDevice for a touchpad
When using XQuartz on macOS, the virtual pointer device is detected as
a touchpad, not a mouse; but QXcbConnection::xi2HandleScrollEvent()
expects the device to be an instance of QXcbScrollingDevice for storage
of some state. A touchpad that has the scrolling capability must be
that type, not a plain QPointingDevice.
Fixes: QTBUG-91402
Change-Id: I1b82766d4a3f87f656e56c0d8904def26fb0979a
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit f85e70c569f4aa979004889d20de8acec9a790bf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/Qt6CTestMacros.cmake')
0 files changed, 0 insertions, 0 deletions