summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-09 13:14:00 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-09 13:14:00 -0500
commit56ba59f721a6ed0699fb3a0914de465fd675b87d (patch)
tree8b8feaa203fa9ee48cc7343246da51b8fc556fc8
parentec0e4a251dab62c9692b9a79ecf6a2d26a3741f8 (diff)
downloadxorg-proto-randrproto-get-set-primary.tar.gz
Re-add length to GetOutputPrimary reply.get-set-primary
Required by core protocol.
-rw-r--r--randrproto.h2
-rw-r--r--randrproto.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/randrproto.h b/randrproto.h
index 018dbe3..b65677f 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -652,13 +652,13 @@ typedef struct {
BYTE type;
CARD8 pad;
CARD16 sequenceNumber B16;
+ CARD32 length B32;
RROutput output B32;
CARD32 pad1 B32;
CARD32 pad2 B32;
CARD32 pad3 B32;
CARD32 pad4 B32;
CARD32 pad5 B32;
- CARD32 pad6 B32;
} xRRGetOutputPrimaryReply;
#define sz_xRRGetOutputPrimaryReply 32
diff --git a/randrproto.txt b/randrproto.txt
index bb2b15e..84bb0d5 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1915,12 +1915,12 @@ A.2.2 Protocol Requests added with version 1.3
1 1 Reply
1 unused
2 CARD16 sequence number
+ 4 CARD32 length
4 OUTPUT output
4 CARD32 pad1
4 CARD32 pad2
4 CARD32 pad3
4 CARD32 pad4
- 4 CARD32 pad5
└───
A.3 Protocol Events