summaryrefslogtreecommitdiff
path: root/xkbcomp.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-06-07 22:43:01 +0100
committerDaniel Stone <daniel@fooishbar.org>2010-06-15 19:26:49 +0100
commit02de53d767b20bab1517b4e8a3e7eb3b9e7f15be (patch)
treee917c813c074a6acb89f03cd15dcc36855c8388c /xkbcomp.h
parent07cc4d60dea2b4c947fed45b082edae4a53b186a (diff)
Lazy keysym parsing (avoid XStringToKeysym)
Instead of calling XStringToKeysym on every keysym we parse, store it as a string until we need to store it in an actual keymap. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'xkbcomp.h')
-rw-r--r--xkbcomp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkbcomp.h b/xkbcomp.h
index 6e02ed5..d6a7185 100644
--- a/xkbcomp.h
+++ b/xkbcomp.h
@@ -156,7 +156,7 @@ typedef struct _Expr
{
int nSyms;
int szSyms;
- KeySym *syms;
+ char **syms;
} list;
struct
{