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:
898d6fd
)
symbols: store actions from symbols in the right offset
author
Ran Benita
<ran234@gmail.com>
Thu, 13 Sep 2012 17:59:27 +0000
(20:59 +0300)
committer
Ran Benita
<ran234@gmail.com>
Thu, 13 Sep 2012 18:09:48 +0000
(21:09 +0300)
This regression was introduced in
93ce9c7d4f7
. This meant that actions
specified inside key {} statments were always going to the first group.
But actions are almost never specified in xkb_symbols so this wasn't
noticed.
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/symbols.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/symbols.c
b/src/xkbcomp/symbols.c
index
17b2eb7
..
0cfa71b
100644
(file)
--- a/
src/xkbcomp/symbols.c
+++ b/
src/xkbcomp/symbols.c
@@
-1611,7
+1611,7
@@
CopySymbolsDef(SymbolsInfo *info, KeyInfo *keyi)
if (key->actions && leveli &&
leveli->act.type != ACTION_TYPE_NONE)
- key->actions[tmp] = leveli->act;
+ key->actions[
i * width +
tmp] = leveli->act;
}
}
}