From 7d1d2760c6d733f8a33c2940f42249ddf94d11a7 Mon Sep 17 00:00:00 2001 From: Kean Johnson Date: Fri, 10 Jun 2005 06:54:06 +0000 Subject: SCO port update for SCO OpenServer 5 and UnixWare 7. A few general cleanups and bugs not specifically related to the port fixed along the way. --- src/kbd.c | 11 +++++++++-- 1 file 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 #include @@ -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", -- cgit v1.2.1