summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-01-29 17:11:28 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-01-29 17:11:28 (GMT)
commitf802dd59b9fdec91f7178bfb7bcaa2ab2818739c (patch)
tree27e13585c1e7c9c471074615f8cf8042c8fe8c2a
parentc39e643b30e956481203d8f38e1a396230368a57 (diff)
downloadtk-f802dd59b9fdec91f7178bfb7bcaa2ab2818739c.zip
tk-f802dd59b9fdec91f7178bfb7bcaa2ab2818739c.tar.gz
tk-f802dd59b9fdec91f7178bfb7bcaa2ab2818739c.tar.bz2
Add comment explaining that ks_names.h should be kept in sync with keysymdef.h, and explain why this needs to be done manually.
-rw-r--r--generic/ks_names.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/generic/ks_names.h b/generic/ks_names.h
index af73d3b..9f49130 100644
--- a/generic/ks_names.h
+++ b/generic/ks_names.h
@@ -1,3 +1,16 @@
+/*
+ * This file should be maintained in sync with xlib/X11/keysymdefs.h
+ *
+ * Note that this should be done manually only, because in some cases
+ * keysymdefs.h defines the same integer for multiple keysyms, e.g.:
+ *
+ * #define XK_Greek_LAMDA 0x7cb
+ * #define XK_Greek_LAMBDA 0x7cb
+ *
+ * #define XK_Cyrillic_DZHE 0x6bf
+ * #define XK_Serbian_DZE 0x6bf (deprecated)
+ *
+ */
{ "BackSpace", 0xFF08 },
{ "Tab", 0xFF09 },
{ "Linefeed", 0xFF0A },