Moving xkbcomp into the server

Daniel Stone daniel at fooishbar.org
Tue Nov 18 17:19:30 PST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20081119/2d5a7049/attachment.pgp>


More information about the xorg mailing list