diff options
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/exevents.c | 3 | ||||
-rw-r--r-- | Xi/extinit.c | 3 | ||||
-rw-r--r-- | Xi/xiselectev.c | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c index b05cf2ce4..2db605302 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -1063,6 +1063,9 @@ ProcessOtherEvent(InternalEvent *ev, DeviceIntPtr device) case ET_RawButtonPress: case ET_RawButtonRelease: case ET_RawMotion: + case ET_RawTouchBegin: + case ET_RawTouchUpdate: + case ET_RawTouchEnd: DeliverRawEvent(&ev->raw_event, device); break; default: diff --git a/Xi/extinit.c b/Xi/extinit.c index 87f793321..0b7bc3424 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -868,6 +868,9 @@ XI2EventSwap(xGenericEvent *from, xGenericEvent *to) case XI_RawKeyRelease: case XI_RawButtonPress: case XI_RawButtonRelease: + case XI_RawTouchBegin: + case XI_RawTouchUpdate: + case XI_RawTouchEnd: SRawEvent((xXIRawEvent*)from, (xXIRawEvent*)to); break; default: diff --git a/Xi/xiselectev.c b/Xi/xiselectev.c index ee14edb6d..815a34fc7 100644 --- a/Xi/xiselectev.c +++ b/Xi/xiselectev.c @@ -145,7 +145,10 @@ ProcXISelectEvents(ClientPtr client) BitIsOn(bits, XI_RawKeyRelease) || BitIsOn(bits, XI_RawButtonPress) || BitIsOn(bits, XI_RawButtonRelease) || - BitIsOn(bits, XI_RawMotion)) + BitIsOn(bits, XI_RawMotion) || + BitIsOn(bits, XI_RawTouchBegin) || + BitIsOn(bits, XI_RawTouchUpdate) || + BitIsOn(bits, XI_RawTouchEnd)) { client->errorValue = XI_RawKeyPress; return BadValue; |