summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--XI2proto.h2
-rw-r--r--specs/XI2proto.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 733f923..1260200 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -154,7 +154,7 @@ typedef struct {
uint16_t type; /**< Always ButtonClass */
uint16_t length; /**< Length in 4 byte units */
uint16_t sourceid; /**< source device for this class */
- uint16_t num_buttons; /**< Number of buttons provide */
+ uint16_t num_buttons; /**< Number of buttons provided */
} xXIButtonInfo;
/**
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index fb32768..76d7695 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -701,7 +701,7 @@ If major_version is less than 2, a BadValue error occurs.
BUTTONCLASS { type: ButtonClass
length: CARD16
sourceid: CARD16
- buttons_len: CARD16
+ num_buttons: CARD16
state: SETofBUTTONMASK
labels: LISTofATOM }