mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2025-12-20 04:40:09 +01:00
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:
parent
faa9c89eb3
commit
014540add5
1 changed files with 6 additions and 4 deletions
10
src/sync.xml
10
src/sync.xml
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue