artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d520327
)
Prevent ucc keyboards from changing the wsmux keyboard layout.
author
anton
<anton@openbsd.org>
Wed, 22 Sep 2021 15:44:12 +0000
(15:44 +0000)
committer
anton
<anton@openbsd.org>
Wed, 22 Sep 2021 15:44:12 +0000
(15:44 +0000)
ok deraadt@
sys/dev/wscons/wsmux.c
patch
|
blob
|
history
diff --git
a/sys/dev/wscons/wsmux.c
b/sys/dev/wscons/wsmux.c
index
b308057
..
db5b9f0
100644
(file)
--- a/
sys/dev/wscons/wsmux.c
+++ b/
sys/dev/wscons/wsmux.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: wsmux.c,v 1.5
4 2021/01/09 20:51:00 gnezdo Exp $
*/
+/* $OpenBSD: wsmux.c,v 1.5
5 2021/09/22 15:44:12 anton Exp $
*/
/* $NetBSD: wsmux.c,v 1.37 2005/04/30 03:47:12 augustss Exp $ */
/*
@@
-913,7
+913,7
@@
wsmux_get_layout(struct wsmux_softc *sc)
void
wsmux_set_layout(struct wsmux_softc *sc, uint32_t layout)
{
- if ((layout &
KB_DEFAULT
) == 0)
+ if ((layout &
(KB_DEFAULT | KB_NOENCODING)
) == 0)
sc->sc_kbd_layout = layout;
}