summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKean Johnson <kean@armory.com>2005-06-10 06:54:06 +0000
committerKean Johnson <kean@armory.com>2005-06-10 06:54:06 +0000
commit7d1d2760c6d733f8a33c2940f42249ddf94d11a7 (patch)
treec0125351678d65a06aeb067fc009d5d74429de41
parent2ca94be67112a926721ef699f495bc158c4963a4 (diff)
downloadxorg-driver-xf86-input-keyboard-sco_port_update.tar.gz
SCO port update for SCO OpenServer 5 and UnixWare 7. A few general cleanupssco_port_update
and bugs not specifically related to the port fixed along the way.
-rw-r--r--src/kbd.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/kbd.c b/src/kbd.c
index 1f7a0f0..65d0676 100644
--- a/src/kbd.c
+++ b/src/kbd.c
@@ -12,8 +12,7 @@
* xf86Events.c and xf86Io.c which are
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*/
-/* $XdotOrg: xc/programs/Xserver/hw/xfree86/input/keyboard/kbd.c,v 1.10 2005/01/11 14:59:02 eich Exp $ */
-
+
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
@@ -132,7 +131,11 @@ static const OptionInfoRec KeyboardOptions[] = {
#endif
static const char *kbdDefaults[] = {
+#if defined(__UNIXWARE__) || defined(XQUEUE)
+ "Protocol", "Xqueue",
+#else
"Protocol", "standard",
+#endif
"AutoRepeat", "500 30",
"XkbRules", __XKBDEFRULES__,
"XkbModel", "pc105",
@@ -143,7 +146,11 @@ static const char *kbdDefaults[] = {
};
static const char *kbd98Defaults[] = {
+#if defined(__UNIXWARE__) || defined(XQUEUE)
+ "Protocol", "Xqueue",
+#else
"Protocol", "standard",
+#endif
"AutoRepeat", "500 30",
"XkbRules", "xfree98",
"XkbModel", "pc98",