summaryrefslogtreecommitdiff
path: root/dix/enterleave.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-14 15:37:35 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-25 09:21:45 +1000
commit6bdc963cdabb4a2e77de7f00a1d062aa2b873f9b (patch)
tree3caff5be1c52f70b819941d3141a67a503f4c87f /dix/enterleave.h
parent5e48f5e2dd2dec7cfd1fa40b61e25123dfca515e (diff)
dix: split enter/leave event handling into core and device handling.
Device events always need to be delivered, core events only in some cases. Let's keep them completely separate so we can adjust core event delivery. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'dix/enterleave.h')
-rw-r--r--dix/enterleave.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/dix/enterleave.h b/dix/enterleave.h
index c1bfc3ada..6e062260e 100644
--- a/dix/enterleave.h
+++ b/dix/enterleave.h
@@ -50,4 +50,17 @@ extern WindowPtr CommonAncestor(
WindowPtr a,
WindowPtr b);
+extern void CoreEnterLeaveEvent(DeviceIntPtr mouse,
+ int type,
+ int mode,
+ int detail,
+ WindowPtr pWin,
+ Window child);
+extern void DeviceEnterLeaveEvent(DeviceIntPtr mouse,
+ int type,
+ int mode,
+ int detail,
+ WindowPtr pWin,
+ Window child);
+
#endif /* _ENTERLEAVE_H_ */