From c18a173cf5f53778356c5e8f25ab132956f8c27d Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 14 Dec 2011 16:03:01 +1000 Subject: dix: add helper functions to build up/verify the sprite trace Touch events' sprite trace stays the same for the duration of the touch sequence. Signed-off-by: Peter Hutterer Reviewed-by: Chase Douglas Reviewed-by: Chase Douglas --- include/input.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/input.h') diff --git a/include/input.h b/include/input.h index 8ce5f2b9d..f1615cf44 100644 --- a/include/input.h +++ b/include/input.h @@ -612,6 +612,10 @@ extern void TouchEventHistoryFree(TouchPointInfoPtr ti); extern void TouchEventHistoryPush(TouchPointInfoPtr ti, const DeviceEvent *ev); extern void TouchEventHistoryReplay(TouchPointInfoPtr ti, DeviceIntPtr dev, XID resource); +extern Bool TouchEnsureSprite(DeviceIntPtr sourcedev, TouchPointInfoPtr ti, + InternalEvent *ev); +extern Bool TouchBuildDependentSpriteTrace(DeviceIntPtr dev, SpritePtr sprite); + /* misc event helpers */ extern Mask GetEventMask(DeviceIntPtr dev, xEvent* ev, InputClientsPtr clients); extern Mask GetEventFilter(DeviceIntPtr dev, xEvent *event); -- cgit v1.2.3