Dont clear all flags in vkbd_clear_state_locked(). Clear only COMPOSE flag.
MFC after: 3 days
This commit is contained in:
parent
06fef1a964
commit
e982eb7d98
@ -1189,7 +1189,7 @@ vkbd_clear_state_locked(vkbd_state_t *state)
|
|||||||
{
|
{
|
||||||
VKBD_LOCK_ASSERT(state, MA_OWNED);
|
VKBD_LOCK_ASSERT(state, MA_OWNED);
|
||||||
|
|
||||||
state->ks_flags = 0;
|
state->ks_flags &= ~COMPOSE;
|
||||||
state->ks_polling = 0;
|
state->ks_polling = 0;
|
||||||
state->ks_state &= LOCK_MASK; /* preserve locking key state */
|
state->ks_state &= LOCK_MASK; /* preserve locking key state */
|
||||||
state->ks_accents = 0;
|
state->ks_accents = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user