WinRT: Fix multi-touch on PC
authorAndrew Knight <andrew.knight@digia.com>
Mon, 5 May 2014 05:41:22 +0000 (08:41 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 5 May 2014 05:48:23 +0000 (07:48 +0200)
commit3f885939c059605a9324a94e488793455c9cd848
treeb1c978c303407ec525b9dd416f29ae7ed9adb1e1
parent9ae89313e43689483282ac330ad189db89bfcbba
WinRT: Fix multi-touch on PC

The pointer ID was incorrectly interpreted as a device ID, which caused
creating a new QTouchDevice for each touch update and potential crashes
in QtQuick. The handling has now been simplified and aligned with Windows
Phone, treating all touch events as if they originate from the same
device. Given that the native device has no ID, it is not
possible to track the native device between events anyway (even the
pointer values change).

Task-number: QTBUG-38745
Change-Id: I24b6c00b765dcb49cd653638afafc04fdd80f774
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
src/plugins/platforms/winrt/qwinrtscreen.cpp
src/plugins/platforms/winrt/qwinrtscreen.h