summaryrefslogtreecommitdiff
path: root/x11-drivers/xlibre-xf86-input-keyboard/files/patch-src__bsd_kbd.c
blob: 984a7368060143b16f95542b49b2dfb1805268f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: src/bsd_kbd.c
@@ -237,6 +237,12 @@
 #endif
 	}
     }
+/*
+ * Switch keyboards which are not attached to console in RAW mode
+ */
+#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
+	ioctl(pInfo->fd, KDSKBMODE, K_RAW);
+#endif
     return Success;
 }