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

Ian Osgood iano at quirkster.com
Mon Mar 13 18:26:53 PST 2006


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


On Mar 13, 2006, at 5:30 PM, Jamey Sharp wrote:

> Thanks much for the research, Ian. Your patch looks fine: please  
> commit.

Done.

> I note that autoconf is checking for stdint.h already, along with  
> other
> standard C header files, so we just need to figure out what flag it's
> setting. The autoconf info pages probably have something to say on  
> this
> subject, and the proto/X11 configure.ac may provide some insight as
> well.

Couldn't figure it out easily, sorry. Autoconf is deep voodoo to me.

> I'm hoping that our XML protocol description gurus will work out  
> how to
> deal with the rest of the X.h constants, soon. Josh, Alp, anyone?
>

The <enum> construct generates very wordy symbols. (Example: enum  
{ XCBWindowClassInputOutput = 1 } XCBWindowClass; where previously  
one only had to deal with InputOutput). You could argue that this is  
a feature, though perhaps not for masks. Maybe an option to prefix  
the members just with "XCB" and not the full name of the enumeration?

>
> --Jamey

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

iD8DBQFEFinxHDwFgzc3zyIRAsfCAJ9X/LwTu6fDRhVRm1oqOx66c9RJNQCgmGdy
MVhDHRbC/Tf+BLxDiMHM9Lg=
=JcQL
-----END PGP SIGNATURE-----


More information about the Xcb mailing list