Hi,

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:
> 
> int
> 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.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to