projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd29b14
)
keysym-utf: make keysym->unicode table a bit smaller
author
Ran Benita
<ran234@gmail.com>
Thu, 4 Oct 2012 09:48:56 +0000
(11:48 +0200)
committer
Ran 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
patch
|
blob
|
history
diff --git
a/src/keysym-utf.c
b/src/keysym-utf.c
index
8bf04f9
..
b1f6f15
100644
(file)
--- 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;
};