summaryrefslogtreecommitdiff
path: root/specs/XI2proto.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-06-14 08:56:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-06-14 08:57:32 +1000
commit3ed8aed32199edaa8621ccea571a04883e050cb5 (patch)
tree0ac9e99e3459ea5409407eb498545e239c360048 /specs/XI2proto.txt
parente752e92dbdcf01b1cd46a3853f582ff765d19e90 (diff)
Fix two typos in spec/comments
The ButtonClass provides the number of buttons, not the lentgh of the mask. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'specs/XI2proto.txt')
-rw-r--r--specs/XI2proto.txt2
1 files changed, 1 insertions, 1 deletions
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 }