abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
-rw-r--r--srcs/juloo.keyboard2/Config.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index cd9629a..0af2de9 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -134,9 +134,9 @@ final class Config
*/
public KeyboardData modify_layout(KeyboardData kw)
{
+ // Update the name to avoid caching in KeyModifier
KeyValue action_key = (actionLabel == null) ? null :
- new KeyValue(actionLabel, actionLabel, KeyValue.CHAR_NONE,
- KeyValue.EVENT_ACTION, KeyValue.FLAG_NOREPEAT);
+ KeyValue.getKeyByName("action").withNameAndSymbol(actionLabel, actionLabel);
return kw.replaceKeys(key -> {
if (key == null)
return null;