summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/eventloop/asyncify_exec/main.cpp
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-08-01 14:18:05 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2022-08-17 04:46:59 +0200
commitfa0e24b641ad241195cab24d008fed6e68983944 (patch)
tree55549e01f9b0624cccc6c85807b4ee9535eb3b8f /tests/manual/wasm/eventloop/asyncify_exec/main.cpp
parent49c966bc8561d1ca71a97b83ae40852233630eb9 (diff)
a11y atspi: translate coords for GetOffsetAtPoint the right way
The coordinate type for "GetOffsetAtPoint" describes the coordinate type of the input coordinates and `QAccessibleTextInterface::offsetAtPoint` expects the coordinates in screen coordinates. Therefore, if window-relative coordinates are given, the screen coordinates of the window need to be added (not subtracted) to the window-relative coordinates of the point in order to calculate the screen coordinates of the point. Fixes: QTBUG-105281 Pick-to: 6.4 6.3 6.2 Change-Id: I5517335c0c0d6a47b8c45c7e4f8f8b5a91f0fcd7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/manual/wasm/eventloop/asyncify_exec/main.cpp')
0 files changed, 0 insertions, 0 deletions