diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-12-04 12:27:23 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-12-10 10:06:53 +0000 |
commit | f8f0f0835a971a658f4ee2ae386e448338b1a7d7 (patch) | |
tree | e3c84916a2b5e8f5e1f19c8dd5034e5487dd9b7a /src/qmltest | |
parent | ecec3d45ece7f0754f2bdede3aaadb13ab71e3c4 (diff) |
TapHandler: ignore scroll events and native gestures
During a 2-finger press (to emulate right click on a trackpad), the
OS may also generate a QWheelEvent with ScrollBegin phase just in case
scrolling starts. This must not prematurely deactivate the TapHandler.
Also if a gesture or wheel event begins as the very first event after
an application starts, ensure that subsequent mouse events are not
mis-delivered as wheel or gesture events.
Fixes: QTBUG-71955
Change-Id: Ic12e116483ab9ad37c4ac3b1d10ccb62e1349e0a
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/qmltest')
0 files changed, 0 insertions, 0 deletions