summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-11-26 15:47:18 -0800
committerKeith Packard <keithp@keithp.com>2008-11-26 15:47:18 -0800
commitad6501790bbaff528cf247df24ddb7de27576a11 (patch)
tree0d855624979ca25f9b5d584fb9d0b133efa751c9 /randrproto.h
parent10bff0be50cf5cf314960bb85c472f1c63d37755 (diff)
Remove duplicate GetScreenResourcesCurrent declarations
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h27
1 files changed, 5 insertions, 22 deletions
diff --git a/randrproto.h b/randrproto.h
index f8aac94..215bde3 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -567,29 +567,12 @@ typedef struct {
* Additions for V1.3
*/
-typedef struct {
- CARD8 reqType;
- CARD8 randrReqType;
- CARD16 length B16;
- Window window B32;
-} xRRGetScreenResourcesCurrentReq;
-#define sz_xRRGetScreenResourcesCurrentReq 8
+typedef xRRGetScreenResourcesReq xRRGetScreenResourcesCurrentReq;
-typedef struct {
- BYTE type;
- CARD8 pad;
- CARD16 sequenceNumber B16;
- CARD32 length B32;
- Time timestamp B32;
- Time configTimestamp B32;
- CARD16 nCrtcs B16;
- CARD16 nOutputs B16;
- CARD16 nModes B16;
- CARD16 nbytesNames B16;
- CARD32 pad1 B32;
- CARD32 pad2 B32;
-} xRRGetScreenResourcesCurrentReply;
-#define sz_xRRGetScreenResourcesCurrentReply 32
+#define sz_xRRGetScreenResourcesCurrentReq sz_xRRGetScreenResourcesReq
+
+typedef xRRGetScreenResourcesReply xRRGetScreenResourcesCurrentReply;
+#define sz_xRRGetScreenResourcesCurrentReply sz_xRRGetScreenResourcesReply
typedef struct {
CARD8 reqType;