[PATCH] Cache xkbcomp output

Daniel Stone daniel at fooishbar.org
Thu Jul 12 15:16:23 PDT 2012


Hi,

On 12 July 2012 23:07, Keith Packard <keithp at keithp.com> wrote:
> Construct a unique filename based on the display name and the RMLVO
> values. If that file contains valid contents, use it. Otherwise,
> compile the keymap to that file and don't unlink it so that it will be
> re-used the next time the server runs.

You need to do at least some rudimentary stat() work so that you'll
rebuild the keymap if the files it uses changes.  Aside from that,
it's our best hope short of forking xkbcommon, adding back some of the
bits we removed as pointless, and smashing that into the server
(volunteers?), so, why not.

Cheers,
Daniel


More information about the xorg-devel mailing list