summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Close <Benjamin.Close@clearchain.com>2009-05-19 11:27:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-19 11:27:03 +1000
commitf065f6c12aa5c2e79f1af38908e86d20a2efdc86 (patch)
treec7aa056c1d8615ce20d7bd5c493435230b247c99
parent3aca2d6ba53c8ddf5c40ae4b1411e50134b404a5 (diff)
XI2proto.h: fix two comments referring to the old naming scheme.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XI2proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XI2proto.h b/XI2proto.h
index e01f645..8ca8f8b 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -428,7 +428,7 @@ typedef struct {
* Name of new master follows struct (4-byte padded)
*/
typedef struct {
- uint16_t type; /**< Always ::XICreateMasterDevice */
+ uint16_t type; /**< Always ::XICreateMaster */
uint16_t length; /**< 2 + (namelen + padding)/4 */
uint16_t name_len;
uint8_t send_core;
@@ -440,7 +440,7 @@ typedef struct {
* with the given master device.
*/
typedef struct {
- uint16_t type; /**< Always ::XIRemoveMasterDevice */
+ uint16_t type; /**< Always ::XIRemoveMaster */
uint16_t length; /**< 3 */
uint16_t deviceid;
uint8_t return_mode; /**< ::XIAttachToMaster, ::XIFloating */