summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wskbd.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-11 20:56:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-11 20:56:58 +0000
commitb26bd4f71d8c8e81a9705303fb918ffbf6d0beea (patch)
tree8714ebe51de871b7eaf3ecdfe46c4803d05fcfe5 /sys/dev/wscons/wskbd.c
parent7a95a2339e5127eb5105b612ca25fc2de5a55a3d (diff)
follow x11 behaviour wrt caps^shift, even i like it this way, but deraadtified
Diffstat (limited to 'sys/dev/wscons/wskbd.c')
-rw-r--r--sys/dev/wscons/wskbd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index c4c0156bacd..f31d76121cb 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.21 2001/06/09 01:56:07 aaron Exp $ */
+/* $OpenBSD: wskbd.c,v 1.22 2001/06/11 20:56:57 mickey Exp $ */
/* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */
/*
@@ -1569,8 +1569,7 @@ wskbd_translate(id, type, value)
KS_GROUP(group[1]) == KS_GROUP_Keypad)
ksym = group[!MOD_ONESET(id, MOD_ANYSHIFT)];
else
- ksym = group[MOD_ONESET(id, MOD_CAPSLOCK) ^
- MOD_ONESET(id, MOD_ANYSHIFT)];
+ ksym = group[MOD_ONESET(id, MOD_CAPSLOCK|MOD_ANYSHIFT);
/* Process compose sequence and dead accents */
res = KS_voidSymbol;