summaryrefslogtreecommitdiff
path: root/proto/xcb-proto/src/dpms.xml
diff options
context:
space:
mode:
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>