[PATCH:xf86-input-keyboard 20/21] Move WSCONS case inside switch statement.
Thomas Klausner
wiz at NetBSD.org
Fri Jul 26 14:24:15 PDT 2013
>From Robert T. Retzlaff <rtr at NetBSD.org>
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
src/bsd_kbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c
index 5337ec7..a8c8ace 100644
--- a/src/bsd_kbd.c
+++ b/src/bsd_kbd.c
@@ -189,7 +189,6 @@ KbdOn(InputInfoPtr pInfo, int what)
ioctl(pInfo->fd, KDSKBMODE, K_RAW);
#endif
break;
-#endif
#ifdef WSCONS_SUPPORT
case WSCONS:
option = WSKBD_RAW;
@@ -204,6 +203,7 @@ KbdOn(InputInfoPtr pInfo, int what)
break;
#endif
}
+#endif
} else {
switch (pKbd->consType) {
#ifdef WSCONS_SUPPORT
--
1.8.3.3
More information about the xorg-devel
mailing list