[Xcb] [PATCH proto 03/18] dpms: Use explicit enum value
Daniel Martin
consume.noise at gmail.com
Sun Aug 18 07:54:03 PDT 2013
Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
src/dpms.xml | 8 ++++----
1 file 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 @@ <request name="Enable" opcode="4" />
<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">
--
1.8.3.3
More information about the Xcb
mailing list