mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-18 20:55:14 +02:00
Fix the compose key being lockable
The compose key was lockable because it had the flag "FLAG_SPECIAL". Without this flag, the key is not lockable with a long press.
This commit is contained in:
@@ -693,8 +693,8 @@ public final class KeyValue implements Comparable<KeyValue>
|
|||||||
case "autofill": return editingKey("auto", Editing.AUTOFILL);
|
case "autofill": return editingKey("auto", Editing.AUTOFILL);
|
||||||
|
|
||||||
/* The compose key */
|
/* The compose key */
|
||||||
case "compose": return makeComposePending(0xE016, ComposeKeyData.compose, FLAG_SECONDARY | FLAG_SPECIAL);
|
case "compose": return makeComposePending(0xE016, ComposeKeyData.compose, FLAG_SECONDARY);
|
||||||
case "compose_cancel": return placeholderKey(0xE01A, Placeholder.COMPOSE_CANCEL, FLAG_SECONDARY | FLAG_SPECIAL);
|
case "compose_cancel": return placeholderKey(0xE01A, Placeholder.COMPOSE_CANCEL, FLAG_SECONDARY);
|
||||||
|
|
||||||
/* Placeholder keys */
|
/* Placeholder keys */
|
||||||
case "removed": return placeholderKey(Placeholder.REMOVED);
|
case "removed": return placeholderKey(Placeholder.REMOVED);
|
||||||
|
Reference in New Issue
Block a user