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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'randrproto.h') 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 -- cgit v1.2.1