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@demorecorder.com>
This commit is contained in:
Christian Linhart 2015-05-25 14:14:38 +02:00
parent f05c1e0ada
commit fef8a4cdc2

View file

@ -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>