Do not mark any touch points as primary when no mouse event is sent
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Wed, 11 Jan 2012 18:02:25 +0000 (20:02 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jan 2012 09:19:49 +0000 (10:19 +0100)
commit893eb97b2ad29c846026cbeb1da86edbb0be9cb5
treed7301ee91a474ce91f591d7e94c81309e4f62c5d
parent8ff37ff535318331f0179cdf0d2f6319cd7ae1c2
Do not mark any touch points as primary when no mouse event is sent

The touchscreen plug-in generates touch events only and therefore no
touch point must be marked as primary because that would mean there
is also a mouse event created from that point which is not the case.

Change-Id: I80c5fdbc52b048cd74c834900b6c8100963210e6
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/generic/touchscreen/qtouchscreen.cpp