summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-08 14:53:53 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-08 14:53:53 -0500
commit4d47f797574916994a409da3ab3511d1aa67ab83 (patch)
tree5658cfd5296be1d96bd6413861a765ccb9121276
parentc25389a1b5cb5cb513eb9486aca4df0d53d089df (diff)
downloadxorg-proto-randrproto-4d47f797574916994a409da3ab3511d1aa67ab83.tar.gz
Fix padding on GetOutputPrimary reply.
-rw-r--r--randrproto.h7
-rw-r--r--randrproto.txt5
2 files changed, 11 insertions, 1 deletions
diff --git a/randrproto.h b/randrproto.h
index 2a7f3c1..b65677f 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -654,8 +654,13 @@ typedef struct {
CARD16 sequenceNumber B16;
CARD32 length B32;
RROutput output B32;
+ CARD32 pad1 B32;
+ CARD32 pad2 B32;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
} xRRGetOutputPrimaryReply;
-#define sz_xRRGetOutputPrimaryReply 12
+#define sz_xRRGetOutputPrimaryReply 32
/*
* event
diff --git a/randrproto.txt b/randrproto.txt
index e3b1f66..ee32728 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1915,6 +1915,11 @@ A.2.2 Protocol Requests added with version 1.3
1 unused
2 CARD16 sequence number
4 OUTPUT output
+ 4 CARD32 pad1
+ 4 CARD32 pad2
+ 4 CARD32 pad3
+ 4 CARD32 pad4
+ 4 CARD32 pad5
└───
A.3 Protocol Events