From 5c6382099285768d441a589db392aa3b0c795517 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Thu, 9 Aug 2012 11:50:01 +0200 Subject: [PATCH] Need to have the XI2 import to detect XI_TouchBeginMask Followup to I5c925ae3e191244c7ab9415e4ba2fe49b93dd2af : touch was not actually working by default. A major symptom was getting double-clicks instead of clicks on buttons and such, making it quite hard to interact with anything. There are some problems remaining. Change-Id: I09fa5965036bac242ccc1f4db71f6d912445ca01 Reviewed-by: Laszlo Agocs --- src/plugins/platforms/xcb/qxcbconnection.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index 902ff83..d97db9a 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -60,6 +60,7 @@ #ifdef XCB_USE_XINPUT2_MAEMO struct XInput2MaemoData; #elif XCB_USE_XINPUT2 +#include #ifdef XI_TouchBeginMask #define XCB_USE_XINPUT22 // XI 2.2 adds multi-point touch support #endif -- 2.7.4