[PATCH:xf86-input-keyboard 20/23] Move WSCONS case inside switch statement.

Thomas Klausner wiz at NetBSD.org
Mon Jul 29 14:23:46 PDT 2013


>From Robert T. Retzlaff <rtr at NetBSD.org>
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb at laas.fr>
---
 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 7808d66..1e0531e 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