On 2011-08-11 12:58:32 +0100, Thomas Adam wrote:
> 2.  Touch pads have a notorious habit of being over-sensitive in that
> they'll often send two clicks in very rapid succession -- much more so
> than a standard mouse, which again is likely why you're seeing it
> specifically with a touchpad.

OK, I've done some tests with both xev and fvwm and I think I now
understand what happens. First, xev shows that with the touchpad
button, the button release event can occur quite early (BTW, that's
why one can do a double-click with a touchpad button without releasing
the button completely). Moreover, after doing tests with fvwm, it
seems that for the double-click time threshold (ClickTime), fvwm
considers the time between the first button release event and the next
button press event, instead of the time between the two button press
events. Hence the problem.

Increasing the ClickTime value seems to solve the problem, but I now
wonder why fvwm considers the release-press time instead of the
press-press time like GNU Emacs and Firefox (and applications on other
systems, such as Mac OS X), for instance. Having a double-click that
behaves in a different way across different software is a bit annoying.
IMHO, this is the real problem... unless there's a good reason to do
things differently.

> > Still if the click time is not accurate at that point, there is a
> > bug somewhere else. How is it computed?
> 
> It's computed by taking the time between two single clicks in
> succession, since X11 does not have a concept of double-click at all.

This is not what I was asking. But I've found the answer (see above).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to