projects
/
free-sw
/
xcb
/
proto
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xinput: RawEvents: support lists axisvalues and axisvalues_raw
[free-sw/xcb/proto]
/
src
/
dpms.xml
diff --git
a/src/dpms.xml
b/src/dpms.xml
index
27ba98a
..
5581284
100644
(file)
--- a/
src/dpms.xml
+++ b/
src/dpms.xml
@@
-25,7
+25,8
@@
institutions shall not be used in advertising or otherwise to promote the
sale, use or other dealings in this Software without prior written
authorization from the authors.
-->
sale, use or other dealings in this Software without prior written
authorization from the authors.
-->
-<xcb header="dpms" extension-xname="DPMS" extension-name="DPMS">
+<xcb header="dpms" extension-xname="DPMS" extension-name="DPMS"
+ major-version="0" minor-version="0">
<request name="GetVersion" opcode="0">
<field type="CARD16" name="client_major_version" />
<field type="CARD16" name="client_minor_version" />
<request name="GetVersion" opcode="0">
<field type="CARD16" name="client_major_version" />
<field type="CARD16" name="client_minor_version" />
@@
-40,6
+41,7
@@
authorization from the authors.
<reply>
<pad bytes="1" />
<field type="BOOL" name="capable" />
<reply>
<pad bytes="1" />
<field type="BOOL" name="capable" />
+ <pad bytes="23" />
</reply>
</request>
</reply>
</request>
@@
-49,6
+51,7
@@
authorization from the authors.
<field type="CARD16" name="standby_timeout" />
<field type="CARD16" name="suspend_timeout" />
<field type="CARD16" name="off_timeout" />
<field type="CARD16" name="standby_timeout" />
<field type="CARD16" name="suspend_timeout" />
<field type="CARD16" name="off_timeout" />
+ <pad bytes="18" />
</reply>
</request>
</reply>
</request>
@@
-62,15
+65,23
@@
authorization from the authors.
<request name="Disable" opcode="5" />
<request name="Disable" opcode="5" />
+ <enum name="DPMSMode">
+ <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">
<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" />
</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" />
<field type="BOOL" name="state" />
+ <pad bytes="21" />
</reply>
</request>
</xcb>
</reply>
</request>
</xcb>