summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-14 16:15:19 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-14 16:15:45 +1000
commit1357361d6b2a72a3decd9307ca59cc7678ba3063 (patch)
tree5f3cdda83e9fd2fc6ba0c4f8a2428603d7750989
parent2a3dc6c47145356a7c9e1cef59165a7ed2f2e9e2 (diff)
Add the enter/leave detail defines, same as the core protocol ones.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XI2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index 99f6ca2..9430480 100644
--- a/XI2.h
+++ b/XI2.h
@@ -50,6 +50,16 @@
#define XINotifyPassiveGrab 4
#define XINotifyPassiveUngrab 5
+/* Enter/Leave and focus In/out detail */
+#define XINotifyAncestor 0
+#define XINotifyVirtual 1
+#define XINotifyInferior 2
+#define XINotifyNonlinear 3
+#define XINotifyNonlinearVirtual 4
+#define XINotifyPointer 5
+#define XINotifyPointerRoot 6
+#define XINotifyDetailNone 7
+
/* Passive grab types */
#define XIGrabtypeButton 0
#define XIGrabtypeKeysym 1