summaryrefslogtreecommitdiff
path: root/proto/xcb-proto/src/dpms.xml
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-31 16:38:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-31 16:38:12 +0000
commit9bcb81d30c73c6e487cc5a3ef5c5664164ef06e3 (patch)
tree597c494a57ae9dbd731085ec14e8e5ae9fb53a5a /proto/xcb-proto/src/dpms.xml
parenta98e499d523dd222b9d6891cfdb0ba2d660a583e (diff)
update to xcb-proto 1.5
Diffstat (limited to 'proto/xcb-proto/src/dpms.xml')
-rw-r--r--proto/xcb-proto/src/dpms.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/proto/xcb-proto/src/dpms.xml b/proto/xcb-proto/src/dpms.xml
index 8e84b2d4a..0c2ac2027 100644
--- a/proto/xcb-proto/src/dpms.xml
+++ b/proto/xcb-proto/src/dpms.xml
@@ -65,14 +65,21 @@ authorization from the authors.
<request name="Disable" opcode="5" />
+ <enum name="DPMSMode">
+ <item name="On" />
+ <item name="Standby" />
+ <item name="Suspend" />
+ <item name="Off" />
+ </enum>
+
<request name="ForceLevel" opcode="6">
- <field type="CARD16" name="power_level" />
+ <field type="CARD16" name="power_level" enum="DPMSMode" />
</request>
<request name="Info" opcode="7">
<reply>
<pad bytes="1" />
- <field type="CARD16" name="power_level" />
+ <field type="CARD16" name="power_level" enum="DPMSMode" />
<field type="BOOL" name="state" />
<pad bytes="21" />
</reply>