From 335639ba8f0df1364a6807187ba17eeae5b187e4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 30 Nov 2006 13:25:35 -0800 Subject: More bugs found by Ian Osgood during the XCB work. ListOutputProperties has no nProperties field. Pad fields not mentioned in Gamma requests. sz_xRROUtputChangeNotifyEvent -> sz_xRROutputChangeNotifyEvent --- randrproto.h | 8 ++++---- randrproto.txt | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/randrproto.h b/randrproto.h index 97ad28b..02680d9 100644 --- a/randrproto.h +++ b/randrproto.h @@ -293,7 +293,7 @@ typedef struct { typedef struct { BYTE type; - CARD8 nProperties; + CARD8 pad0; CARD16 sequenceNumber B16; CARD32 length B32; CARD16 nAtoms B16; @@ -407,7 +407,7 @@ typedef struct { typedef struct { BYTE type; - CARD8 status; + CARD8 pad0; CARD16 sequenceNumber B16; CARD32 length B32; RRMode mode B32; @@ -608,7 +608,7 @@ typedef struct { CARD8 connection; /* connection status */ CARD8 subpixelOrder; /* subpixel order */ } xRROutputChangeNotifyEvent; -#define sz_xRROUtputChangeNotifyEvent 32 +#define sz_xRROutputChangeNotifyEvent 32 typedef struct { CARD8 type; /* always evBase + RRNotify */ @@ -624,7 +624,7 @@ typedef struct { CARD32 pad3 B32; CARD32 pad4 B32; } xRROutputPropertyNotifyEvent; -#define sz_xRROUtputPropertyNotifyEvent 32 +#define sz_xRROutputPropertyNotifyEvent 32 #undef RRModeFlags #undef RRCrtc diff --git a/randrproto.txt b/randrproto.txt index bde1fdf..cf15159 100644 --- a/randrproto.txt +++ b/randrproto.txt @@ -1664,6 +1664,7 @@ A.2.1 Protocol Requests added with version 1.2 2n LISTofCARD16 red 2n LISTofCARD16 green 2n LISTofCARD16 blue + p unused, p=pad(6n) └─── ┌─── RRSetCrtcGamma @@ -1676,6 +1677,7 @@ A.2.1 Protocol Requests added with version 1.2 2n LISTofCARD16 red 2n LISTofCARD16 green 2n LISTofCARD16 blue + p unused, p=pad(6n) └─── A.3 Protocol Events -- cgit v1.2.3