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

Marko Myllynen myllynen at redhat.com
Mon Oct 17 00:42:57 PDT 2011


This patch adds the following mnemonic symbols:

XK_permille  for   U+2030 PER MILLE SIGN
XK_EZH       for   U+01B7 LATIN CAPITAL LETTER EZH
XK_ezh       for   U+0292 LATIN SMALL LETTER EZH

These are the last mnemonic symbols missing from the Finnish keyboard
layout. The characters are part of the Finnish standard, ezh is used
in Sami and permille sign is used commonly in Finland, probably in
other countries as well.

https://bugs.freedesktop.org/show_bug.cgi?id=19687
---
 keysymdef.h |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/keysymdef.h b/keysymdef.h
index f96bc09..8c2369c 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -102,13 +102,13 @@ SOFTWARE.
  * does not represent any existing Unicode character.
  *
  * When adding new keysyms to this file, do not forget to also update the
- * following:
+ * following as needed:
  *
  *   - the mappings in src/KeyBind.c in the repo
- *     git://anongit.freedesktop.org/xorg/lib/libX11
+ *     git://anongit.freedesktop.org/xorg/lib/libX11.git
  *
- *   - the protocol specification in specs/XProtocol/X11.keysyms
- *     in the repo git://anongit.freedesktop.org/xorg/doc/xorg-docs
+ *   - the protocol specification in specs/keysyms.xml
+ *     in the repo git://anongit.freedesktop.org/xorg/proto/x11proto.git
  *
  */
 
@@ -1467,6 +1467,7 @@ SOFTWARE.
 #define XK_leftdoublequotemark           0x0ad2  /* U+201C LEFT DOUBLE QUOTATION MARK */
 #define XK_rightdoublequotemark          0x0ad3  /* U+201D RIGHT DOUBLE QUOTATION MARK */
 #define XK_prescription                  0x0ad4  /* U+211E PRESCRIPTION TAKE */
+#define XK_permille                      0x0ad5  /* U+2030 PER MILLE SIGN */
 #define XK_minutes                       0x0ad6  /* U+2032 PRIME */
 #define XK_seconds                       0x0ad7  /* U+2033 DOUBLE PRIME */
 #define XK_latincross                    0x0ad9  /* U+271D LATIN CROSS */
@@ -1970,6 +1971,8 @@ SOFTWARE.
 #define XK_obarred                    0x1000275  /* U+0275 LATIN SMALL LETTER BARRED O */
 #define XK_SCHWA                      0x100018f  /* U+018F LATIN CAPITAL LETTER SCHWA */
 #define XK_schwa                      0x1000259  /* U+0259 LATIN SMALL LETTER SCHWA */
+#define XK_EZH                        0x10001b7  /* U+01B7 LATIN CAPITAL LETTER EZH */
+#define XK_ezh                        0x1000292  /* U+0292 LATIN SMALL LETTER EZH */
 /* those are not really Caucasus */
 /* For Inupiak */
 #define XK_Lbelowdot                  0x1001e36  /* U+1E36 LATIN CAPITAL LETTER L WITH DOT BELOW */
-- 
1.7.1


--------------040707060407010408050203
Content-Type: text/plain;
 name="0001-i18n-Provide-translation-from-XK_permille-ad5-to-Uni.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0001-i18n-Provide-translation-from-XK_permille-ad5-to-Uni.pa";
 filename*1="tch"



More information about the xorg-devel mailing list