diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-08-26 20:51:03 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-08-28 00:07:28 -0700 |
commit | ed0233e46fd2fe41b1c10e525423e90e0fa2bdc8 (patch) | |
tree | 2915af74e4e80c5048b8630588e8ad6a21ed6b48 /randrproto.txt | |
parent | ddc00f44df77ff3309b2b7cd77d3423781947b14 (diff) |
spec: Correct length calculation in encoding of gamma lists
The padding for RRGetCrtcGamma & RRSetCrtcGamma is a variable p,
not a fixed 2 bytes, since it depends on how many values are
included in the lists.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'randrproto.txt')
-rw-r--r-- | randrproto.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/randrproto.txt b/randrproto.txt index 27fc2f3..e0b67e3 100644 --- a/randrproto.txt +++ b/randrproto.txt @@ -2569,7 +2569,7 @@ A.2.1 Protocol Requests added with version 1.2 1 1 Reply 1 unused 2 CARD16 sequence number - 4 (6n+2)/4 reply length + 4 (6n+p)/4 reply length 2 n size 20 unused 2n LISTofCARD16 red @@ -2581,7 +2581,7 @@ A.2.1 Protocol Requests added with version 1.2 RRSetCrtcGamma 1 CARD8 major opcode 1 24 RandR opcode - 2 3+(6n+2)/4 length + 2 3+(6n+p)/4 length 4 CRTC crtc 2 n size 2 unused |