[PATCH libinput 2/5] Add configuration interface for tap drag-lock

Bill Spitzak spitzak at gmail.com
Tue Jun 23 12:14:21 PDT 2015


On Sun, Jun 21, 2015 at 9:54 PM, Peter Hutterer <peter.hutterer at who-t.net>
wrote:

> In some applications, notably Inkscape, where it is common to frequently
> drag
> objects a short distance the default to drag-lock always-on is frustrating
> for
> users.
> Make it configurable, with the current default to "on".
> New API:
>   libinput_device_config_tap_set_drag_lock_enabled
>   libinput_device_config_tap_get_drag_lock_enabled
>   libinput_device_config_tap_get_default_drag_lock_enabled
>
> Any device capable of tapping is capable of drag lock, there is no explicit
> availability check for drag lock. Configuration is independent, drag lock
> may
> be enabled when tapping is disabled.
>

Perhaps you are already doing this, but can't you require the mouse to be
held down and/or moved more than some threshold on the first drag to turn
on drag-lock mode?

I would think also that it would help to only turn it on if the finger is
released near the edge of the touchpad, and not in the middle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150623/dca1f28c/attachment.html>


More information about the wayland-devel mailing list