Moving xkbcomp into the server
daniel at fooishbar.org
Tue Nov 18 17:19:30 PST 2008
On Mon, Nov 17, 2008 at 11:25:25AM -0800, Dan Nicholson wrote:
> I decided to take a crack at moving xkbcomp into the server so it's
> not popen'd whenever a keymap is loaded. For the first crack, I'm
> trying to just leave xkbcomp pretty much unchanged except for the
> interface. What's causing me the most difficulty is converting to
> server API. One snag I've hit is XStringToKeysym. Here's an example
> usage in the xkbcomp parser:
> LookupKeysym(char *str, KeySym * sym_rtrn)
> Is there an equivalent API in the server to do this conversion?
> Is this crazy/am I going about this the wrong way?
> Any general suggestions for working on this?
No, yes, and break it out into a convenience library, respectively. I
toyed with creating a libxkbcommon ages ago for exactly this reason, but
never ended up finishing it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Digital signature
More information about the xorg