[PATCH:randrproto 04/12] spec: Correct size of outputs in RRSetCrtcConfig encoding

Alan Coopersmith alan.coopersmith at oracle.com
Fri Aug 31 22:28:14 PDT 2012


Each OUTPUT is 4 bytes, not 8.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 randrproto.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/randrproto.txt b/randrproto.txt
index 478c507..27fc2f3 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -2527,7 +2527,7 @@ A.2.1 Protocol Requests added with version 1.2
     RRSetCrtcConfig
 	1	CARD8			major opcode
 	1	21			RandR opcode
-	2	7+2n			length
+	2	7+n			length
 	4	CRTC			crtc
 	4	TIMESTAMP		timestamp
 	4	TIMESTAMP		config timestamp
@@ -2536,7 +2536,7 @@ A.2.1 Protocol Requests added with version 1.2
 	4	MODE			mode
 	2	ROTATION		rotation/reflection
 	2				unused
-	8n	LISTofOUTPUT		outputs
+	4n	LISTofOUTPUT		outputs
       ▶
 	1	1			Reply
 	1	RRCONFIGSTATUS		status
-- 
1.7.9.2



More information about the xorg-devel mailing list