Dont clear all flags in vkbd_clear_state_locked(). Clear only COMPOSE flag.

MFC after:	3 days
This commit is contained in:
emax 2005-05-16 17:21:10 +00:00
parent 06fef1a964
commit e982eb7d98

View File

@ -1189,7 +1189,7 @@ vkbd_clear_state_locked(vkbd_state_t *state)
{
VKBD_LOCK_ASSERT(state, MA_OWNED);
state->ks_flags = 0;
state->ks_flags &= ~COMPOSE;
state->ks_polling = 0;
state->ks_state &= LOCK_MASK; /* preserve locking key state */
state->ks_accents = 0;