1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

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

MFC after:	3 days
This commit is contained in:
Maksim Yevmenkin 2005-05-16 17:21:10 +00:00
parent e2c421f7f2
commit b4b485a5d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146289

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;