Keysyms: Fix failing tests
authorPierre Le Marre <dev@wismill.eu>
Thu, 28 Sep 2023 05:18:56 +0000 (07:18 +0200)
committerWismill <dev@wismill.eu>
Thu, 28 Sep 2023 05:48:37 +0000 (07:48 +0200)
commit0d4541151f2e07f5cc816f0ad5d956d8406d152b
tree4970e41fcf1bb0fe57e4acad14c8a114e438827e
parent49690d936bf6cc6bf85058c1f0a545f0d5e37c77
Keysyms: Fix failing tests

- Update keymap to use reference keysym names.
- Fix x11comp test by handling old x11proto.

  We need xkbcomp to be compiled with at least x11proto-dev 2023.2.
  So we replace the unsupported keysyms with supported ones not
  already in the keymap. This is kind of ugly, but it works. If we
  ever want to restore the original keysyms with their supported names,
  the substitute keysyms will be easy to spot.
test/data/keymaps/host.xkb
test/data/keymaps/stringcomp.data