keysym-utf: make keysym->unicode table a bit smaller
authorRan Benita <ran234@gmail.com>
Thu, 4 Oct 2012 09:48:56 +0000 (11:48 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 6 Oct 2012 19:41:58 +0000 (21:41 +0200)
Saves a few kbytes, and unlikely to change.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/keysym-utf.c

index 8bf04f9..b1f6f15 100644 (file)
@@ -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;
 };