From 236be512c81b76dad711bec481e2139584006c4c Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Mon, 14 Jan 2013 18:32:05 +0100 Subject: Add missing XI_RawTouch* in XInputCopyCookie Looks like XI_RawTouch* events are missing in the big switch in this function. When running XIT tests for multitouch devices, several following errors appears: XInputCopyCookie: Failed to copy evtype 22 XInputCopyCookie: Failed to copy evtype 23 XInputCopyCookie: Failed to copy evtype 24 Signed-off-by: Benjamin Tissoires Signed-off-by: Peter Hutterer --- src/XExtInt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/XExtInt.c b/src/XExtInt.c index 57d071d..507573b 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -1484,6 +1484,9 @@ XInputCopyCookie(Display *dpy, XGenericEventCookie *in, XGenericEventCookie *out case XI_RawButtonPress: case XI_RawButtonRelease: case XI_RawMotion: + case XI_RawTouchBegin: + case XI_RawTouchUpdate: + case XI_RawTouchEnd: ret = copyRawEvent(in, out); break; case XI_BarrierHit: -- cgit v1.2.3