Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 00:47:32 +0100 (MET)
From:      Jean-Marc Zucconi <jmz@FreeBSD.ORG>
To:        dkwiebe@hagenhomes.com
Cc:        billf@chc-chimes.com, asmodai@wxs.nl, freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/15341: XF86Setup in CURRENT is broken on possibly somemachines
Message-ID:  <200001162347.AAA64322@qix.jmz.org>
In-Reply-To: <384D8792.96CE0C2E@heartland.ab.ca> (message from Darren Wiebe on Tue, 07 Dec 1999 15:17:54 -0700)
References:  <199912072240.OAA00528@freefall.freebsd.org> <384D8792.96CE0C2E@heartland.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Darren Wiebe writes:

 > Bill Fumerola wrote:
 >> 
 >> The following reply was made to PR ports/15341; it has been noted by GNATS.
 >> 
 >> From: Bill Fumerola <billf@chc-chimes.com>
 >> To: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
 >> Cc: FreeBSD-gnats-submit@freebsd.org
 >> Subject: Re: ports/15341: XF86Setup in CURRENT is broken on possibly some
 >> machines
 >> Date: Tue, 7 Dec 1999 16:33:55 -0500 (EST)
 >> 
 >> On Tue, 7 Dec 1999, Jeroen Ruigrok/Asmodai wrote:
 >> 
 >> > >How-To-Repeat:
 >> >
 >> >      invalid command name ".xf86setup.mouse.type.sysmouse"
 >> >              while executing
 >> >      "$w.mouse.type.$mtype invoke"
 >> >              (procedure "Mouse_getsettings" line 72)
 >> >              invoked from within
 >> >      "Mouse_getsettings $w"
 >> >              (procedure "Mouse_create_widgets" line 151)
 >> >              invoked from within
 >> >      "Mouse_create_widgets   $w"
 >> >              (file "/usr/X11R6/lib/X11/XF86Setup/phase2.tcl" line 205)
 >> >              invoked from within
 >> >      "source /usr/X11R6/lib/X11/XF86Setup/phase2.tcl"
 >> 
 >> "Me too."

 > Same with me, xf86config works though...

Please test the following patch. It seems to works for me.

Jean-Marc

--- /usr/X11R6/lib/X11/XF86Setup/mouse.tcl~	Mon Jan 17 00:34:06 2000
+++ /usr/X11R6/lib/X11/XF86Setup/mouse.tcl	Mon Jan 17 00:35:30 2000
@@ -15,7 +15,7 @@
 # Mouse configuration routines
 #
 
-set mseTypeList [concat $SupportedMouseTypes { Xqueue OSMouse } ]
+set mseTypeList [concat $SupportedMouseTypes { Xqueue OSMouse SysMouse } ]
 
 set msePatterns [list {tty[0-9A-Za-o]*} cua* *bm *mse* *mouse* \
                       ps*x psm* m320 pms* com* gpmdata lms* kdmouse logi msm \
@@ -586,6 +586,9 @@
 	set mseRes          $initres
 	if { $mseRes <= 0 } {
 		set mseRes 100
+	}
+	if { $mseRes > 200 } {
+		set mseRes 200
 	}
 	$w.mouse.resolution.$mseRes invoke
 	set mseButtons      $initbtn

-- 
 Jean-Marc Zucconi                    PGP Key: finger jmz@FreeBSD.ORG


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001162347.AAA64322>