From e5cccecd814dd2005b3c5e9d22e426ff985ef387 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 13 Apr 2023 16:06:52 +0200 Subject: [PATCH] keysymdef.h: add better names for the dead schwa and SCHWA symbols The new names (`dead_schwa` and `dead_SCHWA`) fit much better with the `dead_a`, `dead_A` scheme for the other vowels, and also with how other upper- and lowercase schwa symbols are named. The old names are deprecated, and can be removed quite soon because they are not used anywhere -- not in xkeyboard-config at least. (The dead vowel symbols were introduced fifteen years ago in commit 935dd37be4, to support compose sequences for Amharic, but neither libX11 nor xkeyboard-config were ever updated to make use of them.) Signed-off-by: Benno Schulenberg --- include/X11/keysymdef.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/X11/keysymdef.h b/include/X11/keysymdef.h index deb82d3..625cc61 100644 --- a/include/X11/keysymdef.h +++ b/include/X11/keysymdef.h @@ -425,8 +425,10 @@ SOFTWARE. #define XK_dead_O 0xfe87 #define XK_dead_u 0xfe88 #define XK_dead_U 0xfe89 -#define XK_dead_small_schwa 0xfe8a -#define XK_dead_capital_schwa 0xfe8b +#define XK_dead_schwa 0xfe8a +#define XK_dead_SCHWA 0xfe8b +#define XK_dead_small_schwa 0xfe8a /* deprecated, remove in 2025 */ +#define XK_dead_capital_schwa 0xfe8b /* deprecated, remove in 2025 */ #define XK_dead_greek 0xfe8c