summaryrefslogtreecommitdiff
path: root/XI.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-10-17 12:38:38 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-10-17 12:38:38 +0930
commit6a0ffc2f461bd41a223732551e0ea1f05c293028 (patch)
tree0eb069cd071ad505f88ac4b7be6dcce628a5c4c2 /XI.h
parent0e9f8468ba15a55ddba7fb8c263a80091e9decde (diff)
xDeviceInfo: add "attached" field (replace previous padding).
If use is set to IsXExtensionPointer/Keyboard/Devices, attached indicates the device ID of the master device it is attached to. If the device is floating, attached is set to IsFloating.
Diffstat (limited to 'XI.h')
-rw-r--r--XI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/XI.h b/XI.h
index 921ea8d..36aa7d6 100644
--- a/XI.h
+++ b/XI.h
@@ -199,6 +199,7 @@ SOFTWARE.
#define XKEYBOARD 1
#define UseXKeyboard 0xFF
+#define IsFloating (1 << 7)
#define IsXPointer 0
#define IsXKeyboard 1