From 2400a5c1281a92840f37c321210858e5ab242c67 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 17 Apr 2026 11:58:05 +1000 Subject: [PATCH] doc: fix reference to non-existent 'hold update' event in gestures.rst There is no LIBINPUT_EVENT_GESTURE_HOLD_UPDATE event in the API. When a finger is detected as thumb/palm during a hold and other fingers remain, the implementation cancels the current hold and starts a new one with an updated finger count. Update the documentation to describe the actual behavior. Co-authored-by: Claude Part-of: --- doc/user/gestures.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/user/gestures.rst b/doc/user/gestures.rst index 7d5fa224..17c643db 100644 --- a/doc/user/gestures.rst +++ b/doc/user/gestures.rst @@ -254,7 +254,8 @@ towards an interaction, see :ref:`thumb_detection` and In the context of hold gestures, thumbs and palms are treated by libinput as if the finger was removed from the device. Where other non-thumb/non-palm -fingers remain on the device, an **hold update** event is sent. Otherwise, +fingers remain on the device, the current hold gesture is cancelled and a +new **hold begin** event with the updated finger count is sent. Otherwise, the hold gesture terminates with a **hold cancel** event. Notably, libinput's thumb and palm detection is not a simple boolean per