[Xcb-commit] Branch 'xspec' - xcb-proto
Alp Toker
alp at kemper.freedesktop.org
Thu Mar 23 17:55:05 PST 2006
xcb-proto/src/xproto.xml | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
New commits:
diff-tree 140943d8182dcb259b9f9d26b09b97066f715f43 (from 0c8b13f6ca15d87ba0c124d72e5592d95689eb2d)
Author: Alp Toker <alp at atoker.com>
Date: Fri Mar 24 01:54:58 2006 +0000
Add atomic="false" attribute to requests where appropriate (default is true)
This information could be useful for eg. saving X state at the toolkit
level or in X protocol compression schemes where the state of the server
must be known precisely.
TODO: only xproto.xml is covered by this commit. Extensions should also be
annotated eventually.
Rationale:
4. Errors
In general, when a request terminates with an error, the request has no
side effects (that is, there is no partial execution). The only requests
for which this is not true are ChangeWindowAttributes, ChangeGC, PolyText8,
PolyText16, FreeColors, StoreColors, and ChangeKeyboardControl.
diff --git a/xcb-proto/src/xproto.xml b/xcb-proto/src/xproto.xml
index bd0480f..ecd4d79 100644
--- a/xcb-proto/src/xproto.xml
+++ b/xcb-proto/src/xproto.xml
@@ -602,7 +602,7 @@ authorization from the authors.
<field type="VisualID" name="visual"/>
<valueparam value-mask-type="CARD32" value-mask-name="value-mask" value-list-name="value-list"/>
</request>
- <request name="ChangeWindowAttributes" number="2">
+ <request name="ChangeWindowAttributes" number="2" atomic="false">
<pad bytes="1"/>
<field type="Window" name="window"/>
<valueparam value-mask-type="CARD32" value-mask-name="value-mask" value-list-name="value-list"/>
@@ -1114,7 +1114,7 @@ authorization from the authors.
<field type="Drawable" name="drawable"/>
<valueparam value-mask-type="CARD32" value-mask-name="value-mask" value-list-name="value-list"/>
</request>
- <request name="ChangeGC" number="56">
+ <request name="ChangeGC" number="56" atomic="false">
<pad bytes="1"/>
<field type="GContext" name="gc"/>
<valueparam value-mask-type="CARD32" value-mask-name="value-mask" value-list-name="value-list"/>
@@ -1262,14 +1262,14 @@ authorization from the authors.
</list>
</reply>
</request>
- <request name="PolyText8" number="74">
+ <request name="PolyText8" number="74" atomic="false">
<pad bytes="1"/>
<field type="Drawable" name="drawable"/>
<field type="GContext" name="gc"/>
<field type="Point"/>
<list type="byte" name="items"/>
</request>
- <request name="PolyText16" number="75">
+ <request name="PolyText16" number="75" atomic="false">
<pad bytes="1"/>
<field type="Drawable" name="drawable"/>
<field type="GContext" name="gc"/>
@@ -1392,7 +1392,7 @@ authorization from the authors.
</list>
</reply>
</request>
- <request name="FreeColors" number="88">
+ <request name="FreeColors" number="88" atomic="false">
<pad bytes="1"/>
<field type="Colormap" name="cmap"/>
<field type="CARD32" name="plane-mask"/>
@@ -1404,7 +1404,7 @@ authorization from the authors.
<field type="byte" name="flags"/>
<pad bytes="1"/>
</struct>
- <request name="StoreColors" number="89" combine-adjacent="true">
+ <request name="StoreColors" number="89" combine-adjacent="true" atomic="false">
<pad bytes="1"/>
<field type="Colormap" name="cmap"/>
<list type="ColorItem" name="items"/>
@@ -1536,7 +1536,7 @@ authorization from the authors.
</list>
</reply>
</request>
- <request name="ChangeKeyboardControl" number="102">
+ <request name="ChangeKeyboardControl" number="102" atomic="false">
<pad bytes="1"/>
<valueparam value-mask-type="CARD32" value-mask-name="value-mask" value-list-name="value-list"/>
</request>
More information about the xcb-commit
mailing list