Bug 8857 - bug in definition of xcb_cap_style_t
Summary: bug in definition of xcb_cap_style_t
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Protocol (show other bugs)
Version: 0.9
Hardware: All Linux (All)
: high normal
Assignee: Jamey Sharp
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 17:17 UTC by jianjun.yang
Modified: 2006-11-01 21:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.