summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-03 16:19:08 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2012-02-08 18:04:15 +1000
commit9a260e9af83feb5c53ffd3b2da2dc3adf06240a1 (patch)
tree7e3690a0c28a5bb73e420d7f7dabe65ca239ebb8 /include/input.h
parent192b2c9a2ec04522655675ddfe71de5cf974cc7b (diff)
Move AllowTouch to dix/touch.c, and rename to TouchAcceptReject
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h
index 53645b4fc..605e74d01 100644
--- a/include/input.h
+++ b/include/input.h
@@ -625,6 +625,8 @@ extern int TouchConvertToPointerEvent(const InternalEvent *ev,
extern int TouchGetPointerEventType(const InternalEvent *ev);
extern void TouchRemovePointerGrab(DeviceIntPtr dev);
extern void TouchListenerGone(XID resource);
+extern int TouchAcceptReject(ClientPtr client, DeviceIntPtr dev, int mode,
+ uint32_t touchid, XID *error);
/* misc event helpers */
extern Mask GetEventMask(DeviceIntPtr dev, xEvent* ev, InputClientsPtr clients);