[Xcb-commit] xcb/proto: src
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 19 16:26:31 UTC 2023
src/dpms.xml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
New commits:
commit b016df100111b56d7c1a2c63ea6791b2287a83e4
Author: Alexander Volkov <a.volkov at rusbitech.ru>
Date: Mon Oct 1 19:41:18 2018 +0300
dpms: Add DPMSInfoNotify event (DPMS 1.2)
Signed-off-by: Alexander Volkov <a.volkov at rusbitech.ru>
diff --git a/src/dpms.xml b/src/dpms.xml
index 5581284..814a14e 100644
--- a/src/dpms.xml
+++ b/src/dpms.xml
@@ -26,7 +26,8 @@ sale, use or other dealings in this Software without prior written
authorization from the authors.
-->
<xcb header="dpms" extension-xname="DPMS" extension-name="DPMS"
- major-version="0" minor-version="0">
+ major-version="1" minor-version="2">
+ <import>xproto</import>
<request name="GetVersion" opcode="0">
<field type="CARD16" name="client_major_version" />
<field type="CARD16" name="client_minor_version" />
@@ -84,4 +85,20 @@ authorization from the authors.
<pad bytes="21" />
</reply>
</request>
+
+ <enum name="EventMask" >
+ <item name="InfoNotify"> <bit>0</bit> </item>
+ </enum>
+
+ <request name="SelectInput" opcode="8">
+ <field type="CARD32" name="event_mask" mask="EventMask"/>
+ </request>
+
+ <event name="InfoNotify" number="0" xge="true">
+ <pad bytes="2" />
+ <field type="TIMESTAMP" name="timestamp"/>
+ <field type="CARD16" name="power_level" enum="DPMSMode" />
+ <field type="BOOL" name="state" />
+ <pad bytes="21"/>
+ </event>
</xcb>
More information about the xcb-commit
mailing list