summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-24 13:45:25 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-24 13:45:25 -0800
commit7363d448c77c2d2ec2928d9d4bc41aac1c2d36b7 (patch)
treeed22565d72b8ddbeea5f51e73a441678e35b7f64
parenta86f4b9442a48a3049e03a4c7d4fd022a860bf01 (diff)
Use BYTE for one-byte values. #undef Drawable needed.
-rw-r--r--randrproto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/randrproto.h b/randrproto.h
index aa9d35f..fe40c0e 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -317,13 +317,13 @@ typedef struct {
typedef struct {
BYTE type;
- CARD8 nProperties;
+ BYTE pad0;
CARD16 sequenceNumber B16;
CARD32 length B32;
BOOL pending;
BOOL range;
BOOL immutable;
- BOOL pad0;
+ BYTE pad1;
CARD16 pad2 B16;
CARD32 pad3 B32;
CARD32 pad4 B32;
@@ -632,6 +632,7 @@ typedef struct {
#undef RROutput
#undef RRMode
#undef RRCrtc
+#undef Drawable
#undef Window
#undef Font
#undef Pixmap