diff options
| author | Tor Arne Vestbø <[email protected]> | 2022-01-05 15:34:58 +0100 |
|---|---|---|
| committer | Tor Arne Vestbø <[email protected]> | 2022-01-07 07:02:20 +0100 |
| commit | 2e1191845679b937bed5f04979287c26e5578e76 (patch) | |
| tree | 79b648bbf172897815afdd1fd9b255261128a2e8 /src/plugins/sqldrivers/db2/qsql_db2.cpp | |
| parent | 00d197662d29f4d84a5087e560f152266a759863 (diff) | |
macOS: Handle momentum scroll NSEventPhaseBegan when scroll had ended
We use nextEventMatchingMask to look for future momentum scroll events
when the non-momentum scroll ends, to continue the scroll uninterrupted
from the perspective of client code. But we're not guaranteed to find
a future momentum scroll event, as observed on macOS 12.1, so if we
then see a momentum NSEventPhaseBegan we need to treat it as a scroll
begin from Qt's perspective.
Fixes: QTBUG-97841
Pick-to: 6.3 6.2 5.15
Change-Id: I412abe0891660eda32a42a08d7dc7dee9eaa73aa
Reviewed-by: Shawn Rutledge <[email protected]>
Reviewed-by: Timur Pocheptsov <[email protected]>
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/plugins/sqldrivers/db2/qsql_db2.cpp')
0 files changed, 0 insertions, 0 deletions
