Commit 158c9b6b authored by Ian Osgood's avatar Ian Osgood
Browse files

Generate error constants as XCB_BAD_*, similar to Xlib.

The previous constants remain for compatibility, but should be deprecated.
parent f7279d8c
......@@ -449,6 +449,11 @@ authorization from the authors.
<xsl:when test="self::error|self::errorcopy">
<constant type="number" name="{xcb:xcb-prefix(concat('Bad', @name))}" value="{@number}" />
<constant type="number" name="{xcb:xcb-prefix(@name)}" value="{@number}" />
<xsl:when test="self::event|self::error">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment