[PATCH:randrproto 01/12] spec: Correct length for RRCreateMode in encoding section
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Aug 31 22:28:11 PDT 2012
(1 + 1 + 2 + 4 + 32) / 4 is 10 words, not 12
10 also matches the sz_xRRCreateModeReq value of 40 in randrproto.h
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
randrproto.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/randrproto.txt b/randrproto.txt
index 7ff573b..e263108 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -2443,7 +2443,7 @@ A.2.1 Protocol Requests added with version 1.2
RRCreateMode
1 CARD8 major opcode
1 16 RandR opcode
- 2 12+(n+p)/4 length
+ 2 10+(n+p)/4 length
4 WINDOW window
32 MODEINFO mode
n STRING8 mode name
--
1.7.9.2
More information about the xorg-devel
mailing list