diff options
| author | Jules Aguillon | 2026-01-30 21:18:48 +0100 |
|---|---|---|
| committer | GitHub | 2026-01-30 21:18:48 +0100 |
| commit | 1b8506876a1d8cff876220a7b6610b7bbe9e8841 (patch) | |
| tree | 4881a8e8fd4276a823c57869000308d1bc5ba66f /srcs/juloo.keyboard2/LayoutModifier.java | |
| parent | e05be0821ba507dd5ea661bdde0af8a14e6fcbd6 (diff) | |
| download | unexpected-keyboard-1b8506876a1d8cff876220a7b6610b7bbe9e8841.tar.gz unexpected-keyboard-1b8506876a1d8cff876220a7b6610b7bbe9e8841.zip | |
Option to switch to the previously used keyboard (#1165)
The "Switch to the last used keyboard" is renamed to "Switching between
input methods" and allows to select "Switch to last used", which was the
default in older releases.
Diffstat (limited to 'srcs/juloo.keyboard2/LayoutModifier.java')
| -rw-r--r-- | srcs/juloo.keyboard2/LayoutModifier.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/srcs/juloo.keyboard2/LayoutModifier.java b/srcs/juloo.keyboard2/LayoutModifier.java index fa7be0c..4a79314 100644 --- a/srcs/juloo.keyboard2/LayoutModifier.java +++ b/srcs/juloo.keyboard2/LayoutModifier.java @@ -156,9 +156,7 @@ public final class LayoutModifier switch (orig.getEvent()) { case CHANGE_METHOD_PICKER: - if (globalConfig.switch_input_immediate) - return KeyValue.getKeyByName("change_method_prev"); - break; + return globalConfig.change_method_key_replacement; case ACTION: String action_label = ec.actionLabel; if (action_label == null) |
