diff options
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2013-01-14 18:32:05 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-17 10:54:19 +1000 |
commit | cc83964e1b49d45369f134926ffe28f6c696bd74 (patch) | |
tree | 9bfdb76f5135dfcec00761449c6ef23557536627 | |
parent | d0a2dd20e4e0f8a66572f9645689f71d7e82f896 (diff) |
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 <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 236be512c81b76dad711bec481e2139584006c4c)
-rw-r--r-- | src/XExtInt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index 27638bd..2a75661 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; default: |