Generate error constants as XCB_BAD_*, similar to Xlib.
The previous constants remain for compatibility, but should be deprecated.
This commit is contained in:
parent
f7279d8c8a
commit
158c9b6ba1
|
@ -449,6 +449,11 @@ authorization from the authors.
|
|||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
<xsl:when test="self::error|self::errorcopy">
|
||||
<constant type="number" name="{xcb:xcb-prefix(concat('Bad', @name))}" value="{@number}" />
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<constant type="number" name="{xcb:xcb-prefix(@name)}" value="{@number}" />
|
||||
<xsl:choose>
|
||||
<xsl:when test="self::event|self::error">
|
||||
|
|
Loading…
Reference in New Issue