Fix AltGr, we should not only skip RAlt key release if enable_altgr is set, but
also process RAlt key press same way. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7c31e86bcb
commit
19e314e7c3
@ -417,6 +417,8 @@ vt_processkey(keyboard_t *kbd, struct vt_device *vd, int c)
|
||||
} else {
|
||||
switch (c & ~RELKEY) {
|
||||
case (SPCLKEY | RALT):
|
||||
if (vt_enable_altgr != 0)
|
||||
break;
|
||||
case (SPCLKEY | LALT):
|
||||
vd->vd_kbstate |= ALKED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user