summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-06 16:33:34 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-07 16:50:50 +1000
commit2edc35c032c2792d9528a396f596d466d4f10764 (patch)
tree519b4c46ecfef883be010c8209fe2b4b73a13c79 /XI2.h
parent504b480c946fe4c4a96500ef8c5da100b787ab32 (diff)
Add XI2 property requests.
Basically the same as XI 1.5, save the 16 bit deviceids.
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/XI2.h b/XI2.h
index 0bb988d..4a62eb4 100644
--- a/XI2.h
+++ b/XI2.h
@@ -28,6 +28,10 @@
#define XI_2_Major 2
#define XI_2_Minor 0
+#define XIPropertyDeleted 0
+#define XIPropertyCreated 1
+#define XIPropertyModified 2
+
/* Passive grab types */
#define GrabtypeButton 0
#define GrabtypeKeysym 1
@@ -108,7 +112,8 @@
#define XI_FocusOut 10
#define XI_HierarchyChanged 11
#define XI_RawEvent 12
-#define XI_LASTEVENT XI_RawEvent
+#define XI_PropertyEvent 13
+#define XI_LASTEVENT XI_PropertyEvent
/* Event masks.
* Note: the protocol spec defines a mask to be of (1 << type). Clients are
@@ -126,5 +131,6 @@
#define XI_FocusOutMask (1 << XI_FocusOut)
#define XI_HierarchyChangedMask (1 << XI_HierarchyChanged)
#define XI_RawEventMask (1 << XI_RawEvent)
+#define XI_PropertyEventMask (1 << XI_PropertyEvent)
#endif /* _XI2_H_ */