summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-12-05 18:42:05 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-12-13 13:24:00 +1000
commit93945b0a74aa8156a88f52b8ba77f1210042f396 (patch)
tree4864981ef3d11aeef3f9b15a5f4625eed8c5c549 /include
parentc81cdb0862e2184f033b3933e6bacbe0809ef2c0 (diff)
dix: split grab event conversion and delivery into a helper function
Effective functional change: XI2 events are checked with XACE now. DeliverOneGrabbedEvent is exported for future use by touch events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h
index cfbfa1f41..9b9dc4bf3 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -400,6 +400,11 @@ extern int DeliverDeviceEvents(
WindowPtr /* stopAt */,
DeviceIntPtr /* dev */);
+extern int DeliverOneGrabbedEvent(
+ InternalEvent* /* event*/,
+ DeviceIntPtr /* dev */,
+ enum InputLevel /* level */);
+
extern void InitializeSprite(
DeviceIntPtr /* pDev */,
WindowPtr /* pWin */);