summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2017-01-29 17:11:28 (GMT)
committerfvogelnew1@free.fr <fvogel>2017-01-29 17:11:28 (GMT)
commitd7735ca6dc2dc7b676fe80a377f0e9e7b57aa855 (patch)
tree27e13585c1e7c9c471074615f8cf8042c8fe8c2a
parentc3e108f87facaff43eb447d35e7aede63184a587 (diff)
downloadtk-d7735ca6dc2dc7b676fe80a377f0e9e7b57aa855.zip
tk-d7735ca6dc2dc7b676fe80a377f0e9e7b57aa855.tar.gz
tk-d7735ca6dc2dc7b676fe80a377f0e9e7b57aa855.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.rfe_499526180d
-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 },