summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/dpms.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-31 16:43:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-31 16:43:13 +0000
commitba77e8bba9c3ad84d9a1afab7fac0fe726dfabf7 (patch)
treecd143e510be129f16d461efa31fce1563a66bd8d /lib/libxcb/src/dpms.h
parent9bcb81d30c73c6e487cc5a3ef5c5664164ef06e3 (diff)
regen for xcb-proto 1.5
Diffstat (limited to 'lib/libxcb/src/dpms.h')
-rw-r--r--lib/libxcb/src/dpms.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libxcb/src/dpms.h b/lib/libxcb/src/dpms.h
index 7238d8b0d..a002aa692 100644
--- a/lib/libxcb/src/dpms.h
+++ b/lib/libxcb/src/dpms.h
@@ -159,6 +159,13 @@ typedef struct xcb_dpms_disable_request_t {
uint16_t length; /**< */
} xcb_dpms_disable_request_t;
+typedef enum xcb_dpms_dpms_mode_t {
+ XCB_DPMS_DPMS_MODE_ON,
+ XCB_DPMS_DPMS_MODE_STANDBY,
+ XCB_DPMS_DPMS_MODE_SUSPEND,
+ XCB_DPMS_DPMS_MODE_OFF
+} xcb_dpms_dpms_mode_t;
+
/** Opcode for xcb_dpms_force_level. */
#define XCB_DPMS_FORCE_LEVEL 6