From 02de53d767b20bab1517b4e8a3e7eb3b9e7f15be Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 7 Jun 2010 22:43:01 +0100 Subject: 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 --- xkbcomp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xkbcomp.h') 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 { -- cgit v1.2.3