diff options
author | Jan Arve Saether <jan-arve.saether@qt.io> | 2016-08-23 10:44:20 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@theqtcompany.com> | 2016-10-28 11:07:04 +0000 |
commit | 8984c42d1779b13fd29d95274af2d01d32528e52 (patch) | |
tree | bf6e75f15c7263ec97c4c41472c4ba5ff16ecb73 /util/unicode | |
parent | 780105f9062dec350bbe2a6800c40db3e6382578 (diff) |
Combine device and point id into 32 bit point id
This is second attempt of change cd26e66c2e8ddde06b5e22
This allows us to not have conflicts between the point ids between
different devices for QtQuick pointer handlers.
We do this in QtGui because we can then safely compare point ids from
QTouchEvent::TouchPoint and QQuickEventPoint.
(Point ids that QtQuick pointer handlers use will be based on the point
ids provided by QTouchEvent::TouchPoint::id)
[ChangeLog][QtGui][QTouchEvent][Important Behavior Changes]
Touch point ids are now unique even between different devices. As a
consequence of that, you cannot anymore assume that
QTouchEvent::TouchPoint::id has the same value as given by the native
platform nor the same value as given by synthesized touch points.
Change-Id: Iad2fd8c6a43ccc571a227a01134a1e8f829dfaf4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'util/unicode')
0 files changed, 0 insertions, 0 deletions