diff options
author | Morten Sørvig <morten.sorvig@qt.io> | 2023-06-14 11:56:37 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2023-06-28 17:24:19 +0000 |
commit | 7a31911b795a3d07c6cba3af8436c3a38673689e (patch) | |
tree | 233790d8714e845e9b1e4bbe7bba2b0f2bcb1b22 /src/corelib/thread/qrunnable.cpp | |
parent | 2dcc30592bccd2e6990b25b89490f3c1fe293d78 (diff) |
wasm: fix touch -> mouse event synth on Safari
Mobile Safari generates touch pointer events with negative
pointer id's, which causes processTochEvent() to skip
the event instead of synthesizing a mouse event.
Ensure that the id's are always positive by taking the
absolute value of the event.
Pick-to: 6.6 6.5
Change-Id: I1514329dc76ecc4b9103f7deca9642aaf304df8b
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/corelib/thread/qrunnable.cpp')
0 files changed, 0 insertions, 0 deletions