diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-10-17 12:38:38 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-10-17 12:38:38 +0930 |
commit | 6a0ffc2f461bd41a223732551e0ea1f05c293028 (patch) | |
tree | 0eb069cd071ad505f88ac4b7be6dcce628a5c4c2 /XIproto.h | |
parent | 0e9f8468ba15a55ddba7fb8c263a80091e9decde (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 'XIproto.h')
-rw-r--r-- | XIproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -254,8 +254,8 @@ typedef struct _xDeviceInfo { CARD32 type B32; CARD8 id; CARD8 num_classes; - CARD8 use; - CARD8 pad1; + CARD8 use; /* IsXPointer | IsXKeyboard | IsXExtension... */ + CARD8 attached; /* id of master dev (if IsXExtension..) */ } xDeviceInfo; typedef struct _xKeyInfo *xKeyInfoPtr; |