Update android_wc_lookup_string
* src/android.c (android_wc_lookup_string): Don't clear compose state upon modifier key depress.
This commit is contained in:
parent
bd017175d4
commit
cc75e103dd
1 changed files with 4 additions and 1 deletions
|
@ -5535,7 +5535,10 @@ android_wc_lookup_string (android_key_pressed_event *event,
|
|||
|
||||
/* Terminate any ongoing character composition after a key is
|
||||
registered. */
|
||||
if (compose_status)
|
||||
if (compose_status
|
||||
/* Provided that a modifier key is not the key being
|
||||
depressed. */
|
||||
&& !ANDROID_IS_MODIFIER_KEY (event->keycode))
|
||||
compose_status->chars_matched = 0;
|
||||
*status_return = status;
|
||||
return rc;
|
||||
|
|
Loading…
Add table
Reference in a new issue