diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-06 10:23:14 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-06 16:51:00 -0800 |
commit | 82263254e1c115d60ad007ff29e0749de52ed514 (patch) | |
tree | ffa1f1d386156562cf030c438a11c1a2f001a2d7 | |
parent | 4d8241c67c83957aa0f612da6823db2d18fdd314 (diff) |
Define X generic event structure
This is used by libxcb, and was defined explicitly there but it's
cleaner to use the XML specification.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
-rw-r--r-- | src/xproto.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/xproto.xml b/src/xproto.xml index 16e04b4..defa11e 100644 --- a/src/xproto.xml +++ b/src/xproto.xml @@ -1080,7 +1080,21 @@ The number of keycodes altered. </doc> </event> - + <event name="ge" number="35" xge="true"> + <pad bytes="22" /> + <doc> + <brief>generic event (with length)</brief> + <field name="extension"><![CDATA[ +The major opcode of the extension creating this event + ]]></field> + <field name="length"><![CDATA[ +The amount (in 4-byte units) of data beyond 32 bytes + ]]></field> + <field name="evtype"><![CDATA[ +The extension-specific event type + ]]></field> + </doc> + </event> <!-- Core error types --> |