[Xcb-commit] Branch 'xspec' - xcb-proto
Alp Toker
alp at kemper.freedesktop.org
Mon Mar 6 07:09:33 PST 2006
xcb-proto/src/extensions/composite.xml | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletion(-)
New commits:
diff-tree ca137dab5cabe216a0a13259471941df7752293b (from c5d95ef552c1a0e5131d128afa2e619cc3394f26)
Author: Alp Toker <alp at atoker.com>
Date: Mon Mar 6 15:09:18 2006 +0000
Start work on Composite 0.3 support
diff --git a/xcb-proto/src/extensions/composite.xml b/xcb-proto/src/extensions/composite.xml
index a93ca23..069b9db 100644
--- a/xcb-proto/src/extensions/composite.xml
+++ b/xcb-proto/src/extensions/composite.xml
@@ -24,8 +24,9 @@ institutions shall not be used in advert
sale, use or other dealings in this Software without prior written
authorization from the authors.
-->
-<extension header="composite" xname="Composite" name="Composite" version="0.2">
+<extension header="composite" xname="Composite" name="Composite" version="0.3">
<import>xfixes</import>
+<!-- TODO: fix naming? UPDATETYPE { Automatic, Manual } -->
<enum name="Redirect">
<item name="automatic"/>
<item name="manual"/>
@@ -62,8 +63,35 @@ authorization from the authors.
<field type="REGION" name="region"/>
<field type="WINDOW" name="window"/>
</request>
+<!-- Version 0.2 additions -->
<request name="NameWindowPixmap" opcode="6">
<field type="WINDOW" name="window"/>
<field type="PIXMAP" name="pixmap"/>
</request>
+<!-- Version 0.3 additions -->
+<!-- FIXME: complete and validate -->
+ <struct name="CompositeCoordinate">
+ <field type="WINDOW" name="child"/>
+ <field type="POINT"/>
+ </struct>
+ <request name="RedirectCoordinate" opcode="7">
+ <field type="WINDOW" name="window"/>
+ <field type="BOOL" name="redirect"/>
+ <pad size="3"/>
+ </request>
+ <event name="TransformCoordinateNotify" number="0">
+ <field type="TIMESTAMP" name="time"/>
+ <field type="WINDOW" name="window"/>
+ <field type="WINDOW" name="child"/>
+ <field type="CARD32" name="serial-number"/>
+ <field type="CARD32" name="count"/>
+ <field type="POINT"/>
+ <pad size="4"/>
+ </event>
+ <request name="TransformCoordinate" opcode="8">
+ <field type="WINDOW" name="window"/>
+ <field type="CARD32" name="serial-number"/>
+ <field type="POINT"/>
+ <list type="CompositeCoordinate" name="coordinates"/>
+ </request>
</extension>
More information about the xcb-commit
mailing list