bin/120186: [patch] moused(8) improvement to virtual scrolling

Aragon Gouveia aragon at phat.za.net
Fri Feb 1 02:00:06 PST 2008


The following reply was made to PR bin/120186; it has been noted by GNATS.

From: Aragon Gouveia <aragon at phat.za.net>
To: bug-followup at FreeBSD.org, aragon at phat.za.net
Cc:  
Subject: Re: bin/120186: [patch] moused(8) improvement to virtual scrolling
Date: Fri, 1 Feb 2008 11:32:54 +0200

 Hi,
 
 I've spotted a tiny annoyance with my patch.  Below is a further update that
 fixes it. :)
 
 
 Thanks,
 Aragon
 
 
 --- moused.c.orig2	2008-02-01 11:30:31.000000000 +0200
 +++ moused.c	2008-02-01 11:30:12.000000000 +0200
 @@ -1193,8 +1193,7 @@
  				}
  				if (scroll_state == SCROLL_SCROLLING)
 scroll_movement = hscroll_movement = 0;
  			}
 -		}
 -		if (scroll_state == SCROLL_SCROLLING) {
 +		} else if (scroll_state == SCROLL_SCROLLING) {
  			 if (rodent.flags & VirtualScroll) {
  				 scroll_movement += action2.dy;
  				 debug("SCROLL: %d", scroll_movement);


More information about the freebsd-bugs mailing list