libinput: Disable tap-and-drag

Peter Hutterer peter.hutterer at
Tue Jan 5 23:14:47 PST 2016

On Wed, Jan 06, 2016 at 05:28:30AM +0000, Caibin Chen wrote:
> Peter Hutterer <peter.hutterer at>于2016年1月4日周一 下午8:44写道:
> > the timeout is currently 300ms. Maybe we can reduce the timeout to provide
> > a
> > middle ground?
> >
> Worth a try, but we should seprate tap-and-drag timeout with drag-lock
> timeout. 300ms is sometime too short for me.

hmm, having a second look at this: the 300ms is the drag timeout which was
reduced from 500ms before the config option to disable it was added. we can
increase this again, but please try to measure what timeout is required. Too
short and the dragging doesn't always work, too long and the delay to
release is too annoying. I'd like to err on the too short side, since
they're less likely to be triggered.

the current timeout for tap is 180ms, that's both the doubletap and the drag
timeout. I don't know how far we can reduce that to make doubletapping/drag
reliable but still work well for your situation. again, measuring your
interactions would be useful here.

> <>
> > Please see this bug here
> >
> >
> Interesting decision. I'll comment in the bug. Hope you don't mind.

np, that's why I dug up the URL :)


More information about the wayland-devel mailing list