git: moused: Omit superfluous gettimeofday calls when mouse only moves

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Dec 24 04:39:44 PST 2015


commit c035a3e5b0421938ba7530a7ff839418a2ee8315
Author: Imre Vadasz <imre at vdsz.com>
Date:   Thu Dec 24 12:50:37 2015 +0100

    moused: Omit superfluous gettimeofday calls when mouse only moves
    
    The gettimeofday() is only needed when a mouse button state changed.

Summary of changes:
 usr.sbin/moused/moused.c | 2 --
 1 file changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c035a3e5b0421938ba7530a7ff839418a2ee8315


-- 
DragonFly BSD source repository


More information about the Commits mailing list