summaryrefslogtreecommitdiff
path: root/XI.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 15:10:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-11 16:37:16 +1000
commitd2ba9af0517f54fb58358e41859f5e4ead9b64f2 (patch)
tree2e649d62203764e340e242ef78666e512f3c5652 /XI.h
parent69f5b8a3ff8258cc6d50cca7d5382b0fe9fed893 (diff)
Split CH_ChangeAttachment into CH_AttachSlave and CH_DetachSlave
CH_ChangeAttachment is still there, but won't be for long.
Diffstat (limited to 'XI.h')
-rw-r--r--XI.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/XI.h b/XI.h
index a95945b..358a4c8 100644
--- a/XI.h
+++ b/XI.h
@@ -289,8 +289,13 @@ SOFTWARE.
/* ChangeHierarchy constants */
#define CH_CreateMasterDevice 1
#define CH_RemoveMasterDevice 2
+#define CH_AttachSlave 3
+#define CH_DetachSlave 4
+
+/* XXX: do not use, will be removed */
#define CH_ChangeAttachment 3
+
#define AttachToMaster 1
#define Floating 2