summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 13:31:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-08 15:39:52 +1000
commit751f2d6c0fa88a6bfc380b57d72ae41ec790249d (patch)
tree27cb24219797ac39b1884cfb9eef24c703e1610a /XI2proto.h
parent44f2419e56b006b8f182ea5746e9b6eef205ff37 (diff)
Rename XICreateMaster to XIAddMaster for consistency.
We use add/remove for slave devices, add/remove for the hierarchy changed flags, so let's use add/remove to create a new device as well. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 5ec377a..b4c8ace 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -456,12 +456,12 @@ typedef struct {
* Name of new master follows struct (4-byte padded)
*/
typedef struct {
- uint16_t type; /**< Always ::XICreateMaster */
+ uint16_t type; /**< Always ::XIAddMaster */
uint16_t length; /**< 2 + (namelen + padding)/4 */
uint16_t name_len;
uint8_t send_core;
uint8_t enable;
-} xXICreateMasterInfo;
+} xXIAddMasterInfo;
/**
* Delete a master device. Will automatically delete the master device paired