[PATCH libinput 2/5] Add configuration interface for tap drag-lock
Peter Hutterer
peter.hutterer at who-t.net
Tue Jun 23 16:17:39 PDT 2015
On Tue, Jun 23, 2015 at 12:14:21PM -0700, Bill Spitzak wrote:
> 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?
interesting idea, but I don't think it'll work. too much guesswork, too easy
to get wrong. for example, when I know I need to cover a large distance
while dragging, a quick 3-4cm repeated drag is faster than a couple of large
moves.
> 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.
see above.
Cheers,
Peter
More information about the wayland-devel
mailing list