summaryrefslogtreecommitdiff
path: root/randrproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'randrproto.h')
-rw-r--r--randrproto.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/randrproto.h b/randrproto.h
index cf7a022..b1f4179 100644
--- a/randrproto.h
+++ b/randrproto.h
@@ -626,6 +626,21 @@ typedef struct {
} xRROutputPropertyNotifyEvent;
#define sz_xRROutputPropertyNotifyEvent 32
+typedef struct {
+ CARD8 type; /* always evBase + RRNotify */
+ CARD8 subCode; /* RRNotify_OutputDPMSChange */
+ CARD16 sequenceNumber B16;
+ Window window B32; /* window requesting notification */
+ RROutput output B32; /* affected output */
+ CARD16 level; /* new DPMS level of output */
+ CARD16 pad1 B32;
+ CARD32 pad2 B32;
+ CARD32 pad3 B32;
+ CARD32 pad4 B32;
+ CARD32 pad5 B32;
+} xRROutputDPMSChangeNotifyEvent;
+#define sz_xRROutputDPMSChangeNotifyEvent 32
+
#undef RRModeFlags
#undef RRCrtc
#undef RRMode