Fix cap style enumeration (bug #8857).
Fix cap style enumeration (bug #8857).

nbaum/xcb-proto,OpenInkpot-archive/iplinux-xcb-proto,stapelberg/xcb-proto,OpenInkpot-archive/iplinux-xcb-proto,stapelberg/xcb-proto,nbaum/xcb-proto