Skip to content
Snippets Groups Projects

pointer-gestures: add hold gestures

Merged Peter Hutterer requested to merge whot/wayland-protocols:wip/hold-gestures into main

Hold gestures merely denote "there are fingers on the touchpad but they are not moving". As touchpad touches are generally fully abstracted, a client cannot currently know when a user is interacting with the touchpad without moving - no motion events will be sent in this case.

The two use-cases here are:

  • 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.

Minimum todo list:

cc @JoseExposito


Reviews:

Acks:

Edited by Simon Ser

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • mentioned in merge request libinput/libinput!602 (merged)

  • Peter Hutterer added 1 commit

    added 1 commit

    • 8a977620 - pointer-gestures: add hold gestures

    Compare with previous version

  • Peter Hutterer resolved all threads

    resolved all threads

  • Jonas Ådahl
  • Jonas Ådahl
  • Peter Hutterer added 1 commit

    added 1 commit

    • fd49f790 - pointer-gestures: add hold gestures

    Compare with previous version

  • @whot if you install both Mutter (https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1830) and GTK (https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3454) merge requests you'd be able to stop kinetic scrolling using hold gestures.

    I'd like to spend a couple of days testing before I remove the "WIP" tag, but so far it is working as expected.

  • Daniel Stone changed target branch from master to main

    changed target branch from master to main

  • Peter Hutterer added 7 commits

    added 7 commits

    Compare with previous version

  • Peter labeled a version (v1.18.900) including hold gestures.

    It'd be nice if we could merge the protocol, or fix what's needed, so it's easier to continue with Mutter/GTK.

  • Simon Ser changed the description

    changed the description

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading