summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Martin <consume.noise@gmail.com>2013-08-18 15:13:19 +0200
committerDaniel Martin <consume.noise@gmail.com>2013-08-25 11:21:55 +0200
commita34b8b1878adc44a4ae70018f764c564c6f6a0a0 (patch)
tree5ab52add23fd5b842e56cb5bb9bcde9a347cf0d5
parentb3f6fc4e3a48db536c67ea2af2054e78695eb35e (diff)
dpms: Use explicit enum value
Signed-off-by: Daniel Martin <consume.noise@gmail.com> Reviewed-by: Ran Benita <ran234@gmail.com> (and tested) Reviewed-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r--src/dpms.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dpms.xml b/src/dpms.xml
index 0c2ac20..5581284 100644
--- a/src/dpms.xml
+++ b/src/dpms.xml
@@ -66,10 +66,10 @@ authorization from the authors.
<request name="Disable" opcode="5" />
<enum name="DPMSMode">
- <item name="On" />
- <item name="Standby" />
- <item name="Suspend" />
- <item name="Off" />
+ <item name="On"> <value>0</value> </item>
+ <item name="Standby"> <value>1</value> </item>
+ <item name="Suspend"> <value>2</value> </item>
+ <item name="Off"> <value>3</value> </item>
</enum>
<request name="ForceLevel" opcode="6">