[Xcb-commit] xcb/proto: src

Christian Linhart clinhart at kemper.freedesktop.org
Thu Jun 11 08:20:50 PDT 2015


 src/present.xml |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

New commits:
commit fef8a4cdc2cacd9541a656026371a3d338dadb8e
Author: Christian Linhart <chris at demorecorder.com>
Date:   Mon May 25 14:14:38 2015 +0200

    fix ABI/API compatibility problem in present
    
    for function xcb_present_redirect_notify_sizeof
    
    removing the explicit length of the list that was added since the
    last release with the following changeset:
    http://cgit.freedesktop.org/xcb/proto/commit/?id=c9b1523b23af52087a6354730f86b8d19fa3c7c0
    
    Removing the explicit length again is OK because
    implicit length is allowed when a list is the last
    field of a request or event.
    
    The compile problem that the prior change has tried to fix,
    has been fixed in another way. Therefore removing the explicit length
    is safe now.
    
    Signed-off-by: Christian Linhart <chris at demorecorder.com>

diff --git a/src/present.xml b/src/present.xml
index 95fee01..513388c 100644
--- a/src/present.xml
+++ b/src/present.xml
@@ -199,15 +199,7 @@ OF THIS SOFTWARE.
     <field type="CARD64" name="target_msc" />
     <field type="CARD64" name="divisor" />
     <field type="CARD64" name="remainder" />
-    <list type="Notify" name="notifies">
-        <op op="/">
-            <op op="-">
-                <fieldref>length</fieldref>
-                <value>18</value>
-            </op>
-            <value>2</value>
-        </op>
-    </list>
+    <list type="Notify" name="notifies" />
   </event>
 
 </xcb>


More information about the xcb-commit mailing list