summaryrefslogtreecommitdiff
path: root/src/libinput.h
diff options
context:
space:
mode:
authorsatrmb <10471-satrmb_true-email-is-private_contact-via-web@gitlab.freedesktop.org>2020-06-24 00:20:57 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2020-09-25 06:01:28 +0000
commit0e569077fe7482a8399bce1c21a647bfee3f7835 (patch)
tree49cf8513bc7c204a7604023953ac7f8e17dae8c0 /src/libinput.h
parent5e6d03ff19af810654d6bd1916bf89b979b5b42c (diff)
touchpad: allow tap-and-drag for two-finger and three-finger taps
This commit duplicates the tap states responsible for tap-and drag (TAPPED and all DRAGGING* states) to cover two-finger and three-finger taps; the code for the new states is shared with the existing machinery for one-finger tap-and-drag. Signed-off-by: satrmb <10471-satrmb@users.noreply.gitlab.freedesktop.org>
Diffstat (limited to 'src/libinput.h')
-rw-r--r--src/libinput.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libinput.h b/src/libinput.h
index 8ad644ee..a15d6272 100644
--- a/src/libinput.h
+++ b/src/libinput.h
@@ -4560,10 +4560,9 @@ enum libinput_config_drag_state {
* @ingroup config
*
* Enable or disable tap-and-drag on this device. When enabled, a
- * single-finger tap immediately followed by a finger down results in a
- * button down event, subsequent finger motion thus triggers a drag. The
- * button is released on finger up. See the libinput documentation for more
- * details.
+ * tap immediately followed by a finger down results in a button down event,
+ * subsequent finger motion thus triggers a drag. The button is released
+ * on finger up. See the libinput documentation for more details.
*
* @param device The device to configure
* @param enable @ref LIBINPUT_CONFIG_DRAG_ENABLED to enable, @ref