[Xcb] Bug 6254: remove XCB's xproto/X11 dependency

Ian Osgood iano at quirkster.com
Mon Mar 13 16:43:14 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

https://bugs.freedesktop.org/show_bug.cgi?id=6254

Jamey wanted me to figure out whether we could remove the proto/X11  
dependency from XCB. The bug lists my findings and a patch to get rid  
of Xmd.h. There are lots of constants in X.h that should be prefixed  
with "XCB" and moved either to enumerations in the XML defs (like the  
CW mask enumeration) or to xcb-util header files, depending on  
whether the constant crosses the wire. Removing X.h from xcb.h would  
cause minor breakage in about ten files in xcb-util and xcb-demo.

(BTW, is the "XCB" prefix treated like a namespace in the XML files,  
so an XSLT for C++ could generate "XCB::KeymapNotify" if it wanted?)

Ian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEFhGnHDwFgzc3zyIRAkWHAKCUuzDuXByF6nwP1x+qFBUCCVMglwCggf7V
7IUAsgy4vDIaWMJKqmosocY=
=YZ04
-----END PGP SIGNATURE-----


More information about the Xcb mailing list