cvs commit: src/usr.sbin/moused moused.c

Philip Paeps philip at FreeBSD.org
Wed Jun 20 08:29:19 UTC 2007


philip      2007-06-20 08:29:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    usr.sbin/moused      moused.c 
  Log:
  MFC: moused.c rev 1.79
  
      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.
  
  Submitted by:   Oliver Fromme <olli -at- lurza.secnetix.de>
  
  Revision  Changes    Path
  1.70.2.5  +41 -6     src/usr.sbin/moused/moused.c


More information about the cvs-all mailing list