symbols: store actions from symbols in the right offset
This regression was introduced in 93ce9c7d4f
. 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>
master
parent
898d6fd416
commit
dd6124ca07
|
@ -1611,7 +1611,7 @@ CopySymbolsDef(SymbolsInfo *info, KeyInfo *keyi)
|
||||||
|
|
||||||
if (key->actions && leveli &&
|
if (key->actions && leveli &&
|
||||||
leveli->act.type != ACTION_TYPE_NONE)
|
leveli->act.type != ACTION_TYPE_NONE)
|
||||||
key->actions[tmp] = leveli->act;
|
key->actions[i * width + tmp] = leveli->act;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue