Skip to content

Conversation

@Sunderland93
Copy link
Contributor

This PR adds support for "hold" pointer gesture, introduced in libinput 1.19 and wayland-protocols 1.23.

Hold gestures are primarily designed for two interactions:

hold-to-interact: where a hold gesture is active for some time a menu could pop up, or some object is selected, etc.
hold-to-cancel: where e.g. kinetic scrolling is currently active, the start of a hold gesture can be used to stop the scroll

Since hold gestures by definition do not have movement, there is no need for an "update" stage in the gesture.

This is also bump pointer-gestures-unstable-v1 protocol to version 3

@mtwebster mtwebster merged commit 380b9b3 into linuxmint:master Sep 18, 2025
2 checks passed
@Sunderland93 Sunderland93 deleted the pointer_gestures_v2 branch September 18, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants