From 56ba59f721a6ed0699fb3a0914de465fd675b87d Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 9 Dec 2008 13:14:00 -0500 Subject: Re-add length to GetOutputPrimary reply. Required by core protocol. --- randrproto.h | 2 +- randrproto.txt | 2 +- 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 -- cgit v1.2.1