[Xcb] EWMH API for XCB

Barton C Massey bart at cs.pdx.edu
Sun Dec 13 23:58:20 PST 2009

In message <20091214050249.GA30448 at oh.minilop.net> you wrote:
> On Sun, Dec 13, 2009 at 05:50:56PM -0800, Barton C Massey wrote:
> > In message <20091214011643.GA29653 at oh.minilop.net> you wrote:
> > > These atoms are ones that *aren't* predefined, but are specified by
> > > EWMH (or I think, in a couple of cases, by ICCCM).
> >
> > I understand.
> Um... At least one of us doesn't. :-)
> > But shouldn't we just use the Python thing on XML instead of the m4
> > thing on, well, m4 to generate the C code anyway, is all I'm saying?
> Sure, Arnaud *could* write some Python to generate tiny parts of the C
> source for his library, but it wouldn't bear any resemblance to the
> Python we already have, because these atoms are not specified by the X
> protocol. You have to call InternAtom on them--they don't have constant
> values, unlike the core protocol atoms. Not only would it be all-new
> code, but m4 is much better suited to the way this code is using it than
> Python would be, and XML is a poor choice when this code only needs a
> single list of short strings.

Never mind.


More information about the Xcb mailing list