summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-11-24 15:54:09 -0500
committerAdam Jackson <ajax@redhat.com>2008-11-24 15:54:09 -0500
commit2c0635eed5ae418ca278d99e044f583d54273097 (patch)
treea8de95293239cfecc29101e0e9c72b9390e51183 /randrproto.h
parent4a960ba3db3c3f8bdf3d519d263f910b6107b9ff (diff)
Add GetScreenResourcesCurrent
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/randrproto.h b/randrproto.h
index 3fb2e45..6d3303a 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -2,6 +2,7 @@
* Copyright © 2000 Compaq Computer Corporation
* Copyright © 2002 Hewlett-Packard Company
* Copyright © 2006 Intel Corporation
+ * Copyright © 2008 Red Hat, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -562,6 +563,34 @@ typedef struct {
#define sz_xRRSetCrtcGammaReq 12
/*
+ * Additions for V1.3
+ */
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 randrReqType;
+ CARD16 length B16;
+ Window window B32;
+} xRRGetScreenResourcesCurrentReq;
+#define sz_xRRGetScreenResourcesCurrentReq 8
+
+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
+
+/*
* event
*/
typedef struct {