Bug 8857

Summary: bug in definition of xcb_cap_style_t
Product: XCB Reporter: jianjun.yang <supermaper>
Component: ProtocolAssignee: Jamey Sharp <jamey>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 0.9   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description jianjun.yang 2006-11-01 17:17:28 UTC
In enumeration type xcb_cap_style_t, XCB_CAP_STYLE_BUTT should be 1, and 
XCB_CAP_STYLE_CAP be 2, according to X.h.
	
In X.h:

/* capStyle */
#define CapNotLast              0
#define CapButt                 1
#define CapRound                2
#define CapProjecting           3

While in xproto.h:

typedef enum xcb_cap_style_t {
    XCB_CAP_STYLE_NOT_LAST = 0,
    XCB_CAP_STYLE_CAP = 1,
    XCB_CAP_STYLE_BUTT = 2,
    XCB_CAP_STYLE_PROJECTING = 3
} xcb_cap_style_t;
Comment 1 Ian Osgood 2006-11-01 21:36:15 UTC
Fixed. Thanks for testing!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.