summaryrefslogtreecommitdiff
path: root/include/X11/extensions/Xrandr.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-07-13 10:23:07 -0700
committerEric Anholt <eric@anholt.net>2007-07-13 10:23:51 -0700
commit0070192418fc18f46b3446f934869079107d2ff7 (patch)
tree03d6798a5b6a87f21a96407a8d9e6f40dead1b50 /include/X11/extensions/Xrandr.h
parent126143add5349fc34488b23d54d1bdcc7e8847b9 (diff)
downloadxorg-lib-libXrandr-0070192418fc18f46b3446f934869079107d2ff7.tar.gz
Add the 1.3 output dpms change notify event.randr-dpms
Diffstat (limited to 'include/X11/extensions/Xrandr.h')
-rw-r--r--include/X11/extensions/Xrandr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/X11/extensions/Xrandr.h b/include/X11/extensions/Xrandr.h
index d87976b..16d7836 100644
--- a/include/X11/extensions/Xrandr.h
+++ b/include/X11/extensions/Xrandr.h
@@ -116,6 +116,17 @@ typedef struct {
int state; /* NewValue, Deleted */
} XRROutputPropertyNotifyEvent;
+typedef struct {
+ int type; /* event base */
+ unsigned long serial; /* # of last request processed by server */
+ Bool send_event; /* true if this came from a SendEvent request */
+ Display *display; /* Display the event was read from */
+ Window window; /* window which selected for this event */
+ int subtype; /* RRNotify_OutputDPMSChange */
+ RROutput output; /* affected output */
+ CARD16 level; /* New DPMS level */
+} XRROutputDPMSChangeNotifyEvent;
+
/* internal representation is private to the library */
typedef struct _XRRScreenConfiguration XRRScreenConfiguration;