[PATCH] Patch to not fork/exec xkbcomp on X Server initialization

Peter Hutterer peter.hutterer at who-t.net
Thu Mar 26 21:58:27 PDT 2009


On Fri, Mar 27, 2009 at 01:46:21AM -0300, Paulo César Pereira de Andrade wrote:
>   But besides being compliant with standard libc's, the wrapping
> I did with xkb_printf (or whatever I called it), also served as
> an exercise to follow the code :-)  I removed all of the geometry
> parsing, but was a bit afraid of breaking the protocol because
> of that, and adding fake values to handle that. But really, after
> not forking xkbcomp by default, the next goal should be to remove
> all parsing of key position/size/color/shape/name, doodads, physical
> dimensions of keyboard, etc; afaik nobody maintains a database of
> such information, and also afaik it is no longer functional, i.e.
> libkbui code and maybe some remaining client elsewhere just doesn't
> work anymore (xorgcfg didn't).

I wonder if geometry parsing could be done on-the-fly, i.e. when a client
requests it. That would of course expose us to inconsistencies if
xkeyboard-config had been updated, but, really, who cares.

Cheers,
  Peter



More information about the xorg mailing list