From d6e736aaf01b234e62e330e41135f47fe076a6d4 Mon Sep 17 00:00:00 2001 From: Alex David Date: Sat, 1 Mar 2025 23:01:34 -0800 Subject: Allow disabling tap-and-drag (#1107) * Allow disabling tap-and-drag Similar to https://github.com/YaLTeR/niri/pull/1088, this adds a new touchpad `drag` configuration option that configures tap-and-drag behavior. Currently tap-and-drag is always enabled when the `tap` setting is enabled, but other compositors allow setting this separately. * Update wiki/Configuration:-Input.md --------- Co-authored-by: Ivan Molodetskikh --- wiki/Configuration:-Input.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wiki/Configuration:-Input.md') diff --git a/wiki/Configuration:-Input.md b/wiki/Configuration:-Input.md index c1350198..a3bd0a7f 100644 --- a/wiki/Configuration:-Input.md +++ b/wiki/Configuration:-Input.md @@ -30,6 +30,7 @@ input { tap // dwt // dwtp + // drag false // drag-lock natural-scroll // accel-speed 0.2 @@ -186,6 +187,7 @@ Settings specific to `touchpad`s: - `tap`: tap-to-click. - `dwt`: disable-when-typing. - `dwtp`: disable-when-trackpointing. +- `drag`: can be `true` or `false`, controls if tap-and-drag is enabled. - `drag-lock`: Since: 25.02 if set, lifting the finger off for a short time while dragging will not drop the dragged item. See the [libinput documentation](https://wayland.freedesktop.org/libinput/doc/latest/tapping.html#tap-and-drag). - `tap-button-map`: can be `left-right-middle` or `left-middle-right`, controls which button corresponds to a two-finger tap and a three-finger tap. - `click-method`: can be `button-areas` or `clickfinger`, changes the [click method](https://wayland.freedesktop.org/libinput/doc/latest/clickpad-softbuttons.html). -- cgit