[PATCH] x11proto: add permille, ezh, and EZH to keysymdef.h

Marko Myllynen myllynen at redhat.com
Mon Oct 17 02:07:54 PDT 2011


> There's a comment in the keysymdef.h file:
>  * When adding new keysyms to this file, do not forget to also update the
>  * following:
>  *
>  *   - the mappings in src/KeyBind.c in the repo
>  *     git://anongit.freedesktop.org/xorg/lib/libX11
>  *
>  *   - the protocol specification in specs/XProtocol/X11.keysyms
>  *     in the repo git://anongit.freedesktop.org/xorg/doc/xorg-docs
> As it's just additional mnemonics and not a new keyboard it should not
> affect KeyBind.c

ezh/EZH happened to be in ranges covered by IPAExt_upper_mapping and
LatinExtB_{upper,lower}_mapping mappings in KeyBind.c already but indeed
permille needed a mapping in src/xlibi18n/imKStoUCS.c as was done for
partialderivative in commit c859446c500c883a67f7a86cab1a44844e24dade.

I've now tested by building patched libX11 against the updated
keysymdef.h and ezh/EZH/permille work in compose maps and keyboard map
files as expected.

I'm attaching an updated patch to update the comment section, a patch
for the needed mapping in libX11, and, while at it, updating compose
maps to use the ezh/EZH mnemonics.


Marko Myllynen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-x11proto-add-permille-ezh-and-EZH-to-keysymdef.h.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111017/b7b1893a/attachment.txt>

More information about the xorg-devel mailing list