diff options
author | Pierre Le Marre <dev@wismill.eu> | 2025-08-13 11:47:26 +0200 |
---|---|---|
committer | Pierre Le Marre <dev@wismill.eu> | 2025-08-13 11:50:34 +0200 |
commit | 7f80f2d077996bfc65e58c552a270cf6f97c1c1a (patch) | |
tree | cf6d79ce5088a18e13d5467b3a95eddb84822cbd | |
parent | 6ec3b544d6f2c32339062db3933c87c82ac2d2b2 (diff) |
It may trigger with the following keymap symbols:
key <> { [a, A] }; key <> { [NoAction()] };
or:
key <> { [NoAction()] }; augment key <> { [a, A] };
Part-of: <https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/merge_requests/33>
-rw-r--r-- | symbols.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -414,6 +414,17 @@ MergeKeyGroups(SymbolsInfo * info, { resultActs[i] = *fromAct; } + else if (toAct == NULL && fromAct == NULL) + { + /* + * May happen with e.g.: + * + * key <> { [a, A] }; key <> { [NoAction()] }; + * or: + * key <> { [NoAction()] }; augment key <> { [a, A] }; + */ + resultActs[i].type = XkbSA_NoAction; + } else { XkbAction *use, *ignore; |