abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
diff options
context:
space:
mode:
authorJules Aguillon2024-07-06 23:09:51 +0200
committerJules Aguillon2024-07-06 23:09:51 +0200
commit3164215879a8374e9333801e0cc2ef56c627b4b6 (patch)
treedaa9870f9aa347c26b9dc506f70a55fffadb4ed8 /srcs/juloo.keyboard2/Config.java
parent99367a9ec68dc902d6b5cb1faa85a5a261acf64b (diff)
downloadunexpected-keyboard-3164215879a8374e9333801e0cc2ef56c627b4b6.tar.gz
unexpected-keyboard-3164215879a8374e9333801e0cc2ef56c627b4b6.zip
Add locale_extra_keys keyboard attribute
This attribute can be used to disable adding the extra keys from method.xml.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
-rw-r--r--srcs/juloo.keyboard2/Config.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index 2afe5ef..f605381 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -234,7 +234,7 @@ public final class Config
extra_keys.put(KeyValue.getKeyByName("config"), KeyboardData.PreferredPos.ANYWHERE);
extra_keys.putAll(extra_keys_param);
extra_keys.putAll(extra_keys_custom);
- if (extra_keys_subtype != null)
+ if (extra_keys_subtype != null && kw.locale_extra_keys)
{
Set<KeyValue> present = new HashSet<KeyValue>();
present.addAll(kw.getKeys().keySet());