From owner-cvs-src@FreeBSD.ORG Sun Jun 17 20:27:54 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E11C416A400; Sun, 17 Jun 2007 20:27:54 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BA1F813C45A; Sun, 17 Jun 2007 20:27:54 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5HKRsIQ082989; Sun, 17 Jun 2007 20:27:54 GMT (envelope-from philip@repoman.freebsd.org) Received: (from philip@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5HKRsXO082982; Sun, 17 Jun 2007 20:27:54 GMT (envelope-from philip) Message-Id: <200706172027.l5HKRsXO082982@repoman.freebsd.org> From: Philip Paeps Date: Sun, 17 Jun 2007 20:27:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 20:27:55 -0000 philip 2007-06-17 20:27:54 UTC FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Fix a (very) longstanding bug in moused(8) affecting high-resolution rodents when linear acceleration (-a) was enabled with a <1 value to slow them down. Previously, rounding errors would eat small movements so the mouse had to be moved a certain distance to get any movement at all. We now calculate the rounding errors and take them into account when reporting movement. PR: bin/113749 Submitted by: Oliver Fromme MFC after: 3 days Revision Changes Path 1.79 +41 -6 src/usr.sbin/moused/moused.c