Date: Wed, 26 Jul 2000 23:12:34 -0400 (EDT) From: "Alexander N. Kabaev" <kabaev@mail.ru> To: The Hermit Hacker <scrappy@hub.org> Cc: current@FreeBSD.ORG, Jos Backus <josb@corp.webtv.net>, Benedikt Schmidt <BeSchmidt@cloaked.de> Subject: Re: Mouse frozen in X when returning from text console Message-ID: <XFMail.000726231234.kabaev@mail.ru> In-Reply-To: <Pine.BSF.4.21.0007262238190.2474-100000@thelab.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
There was a patch floating around which fixed these mouse problems for me.
[-- Attachment #2 --]
--- programs/Xserver/hw/xfree86/input/mouse/mouse.c.orig Sun Jul 23 17:50:10 2000
+++ programs/Xserver/hw/xfree86/input/mouse/mouse.c Sun Jul 23 17:54:22 2000
@@ -692,10 +692,15 @@
pMse->protocolID = protocolID;
}
}
+#ifndef __FreeBSD__
memcpy(pMse->protoPara, proto[pMse->protocolID], sizeof(pMse->protoPara));
+#endif
if (automatic) {
if (name) {
+#ifdef __FreeBSD__
+ memcpy(pMse->protoPara, proto[pMse->protocolID], sizeof(pMse->protoPara));
+#endif
/* Possible protoPara overrides from SetupAuto. */
for (i = 0; i < sizeof(pMse->protoPara); i++)
if (protoPara[i] != -1)
--- programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c.orig Sat Feb 12 22:45:41 2000
+++ programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c Sun Jul 23 17:50:10 2000
@@ -165,7 +165,11 @@
mode.rate = rate > 0 ? rate : -1;
mode.resolution = res > 0 ? res : -1;
mode.accelfactor = -1;
+#ifdef __FreeBSD__
+ mode.level = 1;
+#else
mode.level = -1;
+#endif
ioctl(pInfo->fd, MOUSE_SETMODE, &mode);
}
#endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000726231234.kabaev>
