diff options
author | Daniel Martin <consume.noise@gmail.com> | 2013-08-18 15:15:04 +0200 |
---|---|---|
committer | Daniel Martin <consume.noise@gmail.com> | 2013-08-25 11:22:04 +0200 |
commit | e84ef3fc4b451a395605c03f22100f185052904e (patch) | |
tree | b0690f78c07b78082e857751f25d6390bfd3cfb6 | |
parent | 840a5ad835aa99ad4628ca92f88f95de8f1d0d81 (diff) |
screensaver: 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/screensaver.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/screensaver.xml b/src/screensaver.xml index 7449c0a..491869e 100644 --- a/src/screensaver.xml +++ b/src/screensaver.xml @@ -36,9 +36,9 @@ Draft Standard Version 1.1 <import>xproto</import> <enum name="Kind"> - <item name="Blanked" /> - <item name="Internal" /> - <item name="External" /> + <item name="Blanked"> <value>0</value> </item> + <item name="Internal"> <value>1</value> </item> + <item name="External"> <value>2</value> </item> </enum> <enum name="Event"> @@ -47,10 +47,10 @@ Draft Standard Version 1.1 </enum> <enum name="State"> - <item name="Off" /> - <item name="On" /> - <item name="Cycle" /> - <item name="Disabled" /> + <item name="Off"> <value>0</value> </item> + <item name="On"> <value>1</value> </item> + <item name="Cycle"> <value>2</value> </item> + <item name="Disabled"> <value>3</value> </item> </enum> <!-- Errors --> |