diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-08 13:34:50 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-09 10:56:35 +1000 |
commit | 0254852c8fb0793401368c7afc6041f807ee1d87 (patch) | |
tree | bda4d4ada550238b969cdb04936d837aae3e73d5 /man/XIChangeHierarchy.txt | |
parent | 4a61fe9f05b8e7214303722dd12195488df9c599 (diff) |
Rename XICreateMaster to XIAddMaster for consistency.
add/remove is used for slave devices and for flags, so we should use it in
XIChangeHierarchy as well.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man/XIChangeHierarchy.txt')
-rw-r--r-- | man/XIChangeHierarchy.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/XIChangeHierarchy.txt b/man/XIChangeHierarchy.txt index 95811c6..ac667bc 100644 --- a/man/XIChangeHierarchy.txt +++ b/man/XIChangeHierarchy.txt @@ -39,22 +39,22 @@ DESCRIPTION The list of changes is any combination of XIAnyHierarchyChangeInfo. The type of a hierarchy change can be - XICreateMaster, XIRemoveMaster, XIAttachSlave or XIDetachSlave. + XIAddMaster, XIRemoveMaster, XIAttachSlave or XIDetachSlave. typedef union { int type; - XICreateMasterInfo create; + XIAddMasterInfo add; XIRemoveMasterInfo remove; XIAttachSlave attach; XIDetachSlave detach; } XIAnyHierarchyChangeInfo; typedef struct { - int type; /* XICreateMaster */ + int type; /* XIAddMaster */ char* name; Bool send_core; Bool enable; - } XICreateMasterInfo; + } XIAddMasterInfo; typedef struct { int type; /* XIRemoveMaster */ @@ -75,12 +75,12 @@ DESCRIPTION int deviceid; } XIDetachSlaveInfo; - XICreateMasterInfo creates a new master pointer and a new + XIAddMasterInfo creates a new master pointer and a new master keyboard labelled "name pointer" and "name keyboard" respectively. If sendCore is True, the devices will send core events. If enable is True, the device is enabled immediately. - XICreateMasterInfo can generate a BadValue error. + XIAddMasterInfo can generate a BadValue error. XIRemoveMasterInfo removes device and its paired master device. If returnMode is XIAttachToMaster, all pointers attached to |