summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-25 15:48:25 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-27 13:35:57 +1000
commit1b2dc24bf51a325ea3fafb46768467675b00be52 (patch)
tree3b28a0600cbeb3dceec25763021a626c800e586f /XI2.h
parentd0c6633f7bc2519c0b6c662a1f39a8ce56ab768a (diff)
Add Enter/FocusIn passive grabs.
Same behaviour as button/keysym grabs but triggered on enter/leave and focus in/out events.
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index cc8d3c4..6c58926 100644
--- a/XI2.h
+++ b/XI2.h
@@ -36,6 +36,8 @@
/* Passive grab types */
#define XIGrabtypeButton 0
#define XIGrabtypeKeysym 1
+#define XIGrabtypeEnter 2
+#define XIGrabtypeFocusIn 3
/* Passive grab modifier */
#define XIAnyModifier (1 << 31)