sync: Remove duplicate error names

Having multiple names for the same error number will confuse non-libxcb
generators (eg. maybe the Wireshark generator).

Change BadFence to Fence to match the existing Counter and Alarm errors.

Part-of: <https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/58>
This commit is contained in:
Peter Harris 2025-06-03 09:15:05 -04:00
parent faa9c89eb3
commit 014540add5

View file

@ -8,10 +8,6 @@ for licensing information.
major-version="3" minor-version="1">
<import>xproto</import>
<error name="BadCounter" number="0" />
<error name="BadAlarm" number="1" />
<error name="BadFence" number="2" />
<xidtype name="ALARM" />
<enum name="ALARMSTATE">
@ -83,6 +79,12 @@ for licensing information.
<field type="CARD16" name="minor_opcode" />
<field type="CARD8" name="major_opcode" />
</error>
<error name="Fence" number="2">
<field type="CARD32" name="bad_fence" />
<field type="CARD16" name="minor_opcode" />
<field type="CARD8" name="major_opcode" />
</error>
<request name="Initialize" opcode="0">
<field type="CARD8" name="desired_major_version" />