Subject: xsrc/7452: XKB auto-repeat doesn't work in Xsun
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthieu Herrb <matthieu@laas.fr>
List: netbsd-bugs
Date: 04/23/1999 01:21:12
>Number: 7452
>Category: xsrc
>Synopsis: XKB auto-repeat doesn't work in Xsun
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: xsrc-manager (NetBSD X11 bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 23 01:20:02 1999
>Last-Modified:
>Originator:
>Organization:
Matthieu Herrb | e-mail: matthieu@laas.fr
CNRS/LAAS | url: <A HREF="http://www.laas.fr/~matthieu">
Toulouse, France | War, what is it good for ? Absolutely nothing !
>Release: NetBSD-1.4_BETA of 1999/04/22
>Environment:
>Description:
In Xsun server build with -current xsrc source, keyboard autorepeat
doesn't work unless you disable XKB.
>How-To-Repeat:
Start an Xsun on a sparc with XKB enable, press any key and wait for
autorepeat to begin...
>Fix:
This is caused by the missing -DXKB_ALWAYS_USES_SOFT_REPEAT flag while
compiling xc/programs/Xserver/xkb.
This can be fixed by the following patch:
--- xc/config/cf/NetBSD.cf.orig Fri Apr 23 09:38:44 1999
+++ xc/config/cf/NetBSD.cf Fri Apr 23 09:41:09 1999
@@ -542,6 +542,9 @@
#ifndef XsunMonoServer
#define XsunMonoServer YES
#endif
+#ifndef XkbServerDefines
+#define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT
+#endif
#endif
/*
(Please note that there's also a spurious nested comment at the end of
NetBSD.cf which can be part of the problem).
>Audit-Trail:
>Unformatted: