summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2022-04-27 18:45:54 +0200
committerRan Benita <ran@unusedvar.com>2022-05-15 10:26:44 +0300
commit2536713070967b98f9a8c934df108ec7c095b593 (patch)
treee2b8f691a7efd372e20bba0f791cc35ae87902a6 /test
parentb064b60984fbbe019c8b173b26d1fcd0a4e4df04 (diff)
downloadxorg-lib-libxkbcommon-2536713070967b98f9a8c934df108ec7c095b593.tar.gz
Remove bogus euro sign entry from keysymtab
Not sure what it's doing here, but converting "€" to a keysym doesn't work with this entry. 0x13a4 doesn't appear in xkbcommon-keysyms.h. 0x20ac is the keysym documented in the header (and it's the last entry in the table). It's been in the table since it was introduced in e0524296d2e0 ("Add API for getting unicode representation of a keysym"). Co-authored-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'test')
-rw-r--r--test/keysym.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/keysym.c b/test/keysym.c
index 2c98c24..38f967d 100644
--- a/test/keysym.c
+++ b/test/keysym.c
@@ -252,6 +252,7 @@ main(void)
assert(test_utf32_to_keysym(0xd7, XKB_KEY_multiply));
assert(test_utf32_to_keysym('-', XKB_KEY_minus));
assert(test_utf32_to_keysym(0x10fffd, 0x110fffd));
+ assert(test_utf32_to_keysym(0x20ac, XKB_KEY_EuroSign));
// Unicode non-characters
assert(test_utf32_to_keysym(0xfdd0, XKB_KEY_NoSymbol));