Add multipoint touch support for Harmattan to the xcb platform plugin.
authorJocelyn Turcotte <jocelyn.turcotte@nokia.com>
Fri, 14 Oct 2011 13:55:35 +0000 (15:55 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 17 Oct 2011 16:03:13 +0000 (18:03 +0200)
commit4521e2ec61c6eddd6d4a8454f84a05d9a3195f4b
treeb872d62023e05c9299a491259abdedb72c783a73
parent09cad13e49a9b6e6be565854fa4404d604939c03
Add multipoint touch support for Harmattan to the xcb platform plugin.

Proper multipoint touch support was only introduced in XInput2.1, but Harmattan uses
a tweaked version of XInput2.0 that transfers touch data through mouse events.

This patch applies on the xcb plugin a subset of the changes that were applied on the
Qt 4.7 that was shipped to Harmattan to get similar multipoint touch support.

Change-Id: Ifda7ad40de29d7ded1443d4f78b3ec3807303a9f
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
config.tests/x11/xinput2/xinput2.cpp [new file with mode: 0644]
config.tests/x11/xinput2/xinput2.pro [new file with mode: 0644]
configure
src/plugins/platforms/xcb/qxcbconnection.cpp
src/plugins/platforms/xcb/qxcbconnection.h
src/plugins/platforms/xcb/qxcbconnection_maemo.cpp [new file with mode: 0644]
src/plugins/platforms/xcb/qxcbwindow.cpp
src/plugins/platforms/xcb/xcb.pro