summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-10 11:15:48 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-10 11:15:48 -0500
commitd904495a4cbd66850dc03d32f223aaaf8425f077 (patch)
treee5799c837c1253ed4e183a94ffc3ea9814d18e05 /randrproto.h
parent1334866b4aa025bce745140aa0f71f6493408ffa (diff)
Add [GS]etOutputPrimary
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/randrproto.h b/randrproto.h
index b434b3a..3b98a9f 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -614,6 +614,37 @@ typedef struct {
#define sz_xRRGetCrtcTransformReply 96
+typedef struct {
+ CARD8 reqType;
+ CARD8 randrReqType;
+ CARD16 length B16;
+ Window window B32;
+ RROutput output B32;
+} xRRSetOutputPrimaryReq;
+#define sz_xRRSetOutputPrimaryReq 12
+
+typedef struct {
+ CARD8 reqType;
+ CARD8 randrReqType;
+ CARD16 length B16;
+ Window window B32;
+} xRRGetOutputPrimaryReq;
+#define sz_xRRGetOutputPrimaryReq 8
+
+typedef struct {
+ BYTE type;
+ CARD8 pad;
+ CARD16 sequenceNumber B16;
+ CARD32 length B32;
+ RROutput output B32;
+ CARD32 pad1 B32;
+ CARD32 pad2 B32;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
+} xRRGetOutputPrimaryReply;
+#define sz_xRRGetOutputPrimaryReply 32
+
/*
* event
*/