keysym-utf: make keysym->unicode table a bit smaller Saves a few kbytes, and unlikely to change. Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/src/keysym-utf.c b/src/keysym-utf.c
index 8bf04f9..b1f6f15 100644
--- a/src/keysym-utf.c
+++ b/src/keysym-utf.c
@@ -38,8 +38,9 @@
#include "xkbcommon/xkbcommon.h"
#include "utils.h"
+/* We don't use the uint32_t types here, to save some space. */
struct codepair {
- xkb_keysym_t keysym;
+ uint16_t keysym;
uint16_t ucs;
};