summaryrefslogtreecommitdiff
path: root/proto/xcb-proto/doc
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2018-09-11 19:31:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2018-09-11 19:31:12 +0000
commit26e88f304a40144b9cc2579824a419bd96418454 (patch)
tree1d90c1b2c88f0116a7b4b93ce5a5d039e331887f /proto/xcb-proto/doc
parent667f20ac8083e400aafc6d1e5ba43b642ef4d290 (diff)
Update to xcb-proto 1.13. ok tb@
Diffstat (limited to 'proto/xcb-proto/doc')
-rw-r--r--proto/xcb-proto/doc/xml-xcb.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/proto/xcb-proto/doc/xml-xcb.txt b/proto/xcb-proto/doc/xml-xcb.txt
index 9cef1de11..f5b9aed13 100644
--- a/proto/xcb-proto/doc/xml-xcb.txt
+++ b/proto/xcb-proto/doc/xml-xcb.txt
@@ -76,6 +76,12 @@ Top-Level Elements
the field and pad elements described in the section "Structure Contents
below".
+<eventstruct name="identifier">event-type-selector list</struct>
+
+ This element represents a data structure that is the wire-representation of
+ an event. The event can be any type that's selected by the
+ event-type-selector list.
+
<xidtype name="identifier" />
This element represents an identifier for a particular type of resource.
@@ -359,6 +365,29 @@ Expressions
This element represents the current list-element when used inside
a list-iteration expression such as <sumof>.
+
+Event-Type-Selector List
+------------------------
+
+ The event-type-selector list selects a set of eventtypes.
+ It consists of any number of the following elements:
+
+ <allowed extension="identifier" xge="boolean"
+ opcode-min="integer" opcode-max="integer" />
+
+ The extension attribute selects events from the given extension.
+
+ If the xge attribute is true, the event is an X Generic Event and
+ will be treated as such.
+
+ opcode-min and opcode-max describe the minimum and maximum opcode
+ respectively. The opcode is the same number as the number-attribute
+ of an event definition. I.e. this is the offset from the event-base
+ to the actual number used on the wire.
+
+ In the current implementation, only xge="false" is supported.
+
+
Documentation
-------------