[Xcb] Suggestions for improvements on predefined atoms
Carsten Meier
cm at trexity.de
Mon Oct 6 11:11:59 PDT 2008
Am Mon, 06 Oct 2008 10:19:07 -0700
schrieb Barton C Massey <bart at cs.pdx.edu>:
> In message <20081006121626.7f0da7b8 at before> you wrote:
> > I have some suggestions on improving predefined atoms in XCB:
> >
> > 1. Why aren't there any predefined atom-definitions in the
> > proto-package? As they are part of the protocol I think
> > they should go there.
>
> Makes sense. Patch welcome. You'll want to define a new
> type for atoms in the XML schema, then modify Eamon's Python
> code generator to generate an include file with the
> predefined atoms and their values in them. This would also
> be good as you can initialize the atoms at definition time
> in the header file, instead of the weird thing we're doing
> now. You'll have to hack up atom.c a bit, as it is doing
> some magic hashing with gperf.
Sorry, but I can't do that as I know exactly nothing about
XML-schemata. Anyone else maybe? :)
IMHO the same issue applies to the keysyms as well.
More information about the Xcb
mailing list