diff options
author | emax <emax@FreeBSD.org> | 2005-05-16 17:21:10 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2005-05-16 17:21:10 +0000 |
commit | e982eb7d989de98e6df0e23e5cb484732c335c96 (patch) | |
tree | 743d68fe6f20b5d99ae367b5f6262bd29f605cf2 /sys/dev/vkbd | |
parent | 06fef1a964e4d7833440c4c1369fa74891a678f6 (diff) | |
download | FreeBSD-src-e982eb7d989de98e6df0e23e5cb484732c335c96.zip FreeBSD-src-e982eb7d989de98e6df0e23e5cb484732c335c96.tar.gz |
Dont clear all flags in vkbd_clear_state_locked(). Clear only COMPOSE flag.
MFC after: 3 days
Diffstat (limited to 'sys/dev/vkbd')
-rw-r--r-- | sys/dev/vkbd/vkbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |