From e982eb7d989de98e6df0e23e5cb484732c335c96 Mon Sep 17 00:00:00 2001 From: emax Date: Mon, 16 May 2005 17:21:10 +0000 Subject: Dont clear all flags in vkbd_clear_state_locked(). Clear only COMPOSE flag. MFC after: 3 days --- sys/dev/vkbd/vkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/vkbd') diff --git a/sys/dev/vkbd/vkbd.c b/sys/dev/vkbd/vkbd.c index a02dd3a..940e414 100644 --- a/sys/dev/vkbd/vkbd.c +++ b/sys/dev/vkbd/vkbd.c @@ -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; -- cgit v1.1