summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-04-25 13:22:14 +0000
committermiod <miod@openbsd.org>2005-04-25 13:22:14 +0000
commitf93f0d3881a9fa3add7b0053707ac8850d27b83a (patch)
tree9ec4e77b158117bc490bc76390a959e23ef804c4
parenttypo (diff)
downloadwireguard-openbsd-f93f0d3881a9fa3add7b0053707ac8850d27b83a.tar.xz
wireguard-openbsd-f93f0d3881a9fa3add7b0053707ac8850d27b83a.zip
Pass the complete keybuffer to wskbd_rawinput(); dnkbd now works under X11.
-rw-r--r--sys/arch/hp300/dev/dnkbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/dnkbd.c b/sys/arch/hp300/dev/dnkbd.c
index 1533f576f49..38003dd8819 100644
--- a/sys/arch/hp300/dev/dnkbd.c
+++ b/sys/arch/hp300/dev/dnkbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dnkbd.c,v 1.5 2005/04/24 23:59:37 miod Exp $ */
+/* $OpenBSD: dnkbd.c,v 1.6 2005/04/25 13:22:14 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -549,6 +549,7 @@ dnevent_kbd(struct dnkbd_softc *sc, int dat)
/* remember pressed key for autorepeat */
bcopy(cbuf, sc->sc_rep, sizeof(sc->sc_rep));
}
+ j++;
}
if (j != 0) {