diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-12-14 15:29:48 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-20 13:01:03 +1000 |
commit | bec51f5ec6575a1971ae5371a4b6d8563933032c (patch) | |
tree | f9e1b1ce56967d25988931c81f33d3de25e70faa /include/input.h | |
parent | 5c63dc6dbcbebbb19d79575a9f1ec9878e6537f1 (diff) |
dix: add GetTouchOwnership event API
No callers yet. This API is not to be used by drivers, it's an API for the
DIX which will create ownership events mainly on touch acceptance/rejection.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h index 834dd273d..4d60792cd 100644 --- a/include/input.h +++ b/include/input.h @@ -503,6 +503,14 @@ void QueueTouchEvents(DeviceIntPtr device, int flags, const ValuatorMask *mask); +extern int GetTouchOwnershipEvents( + InternalEvent *events, + DeviceIntPtr pDev, + TouchPointInfoPtr ti, + uint8_t mode, + XID resource, + uint32_t flags); + extern _X_EXPORT int GetProximityEvents( InternalEvent *events, DeviceIntPtr pDev, |