XI2proto.h: fix two comments referring to the old naming scheme.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Benjamin Close 2009-05-19 11:27:03 +10:00 committed by Peter Hutterer
parent 3aca2d6ba5
commit f065f6c12a

View file

@ -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 */