gtkgesture: Handle hold gestures
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 28 Jun 2021 15:49:35 +0000 (17:49 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 26 Jan 2022 21:49:53 +0000 (22:49 +0100)
commit3bfcc12ec01c68f2c5b6af0ed80e3ee9bd13f000
tree04cd8a9a9d52096c885be472003859ac819914d1
parent382341e1bf54683330ff8b4d1dd4073e9ccc892a
gtkgesture: Handle hold gestures

Hold gestures are used to bring existing gestures on touchpad
semantically closer to touchscreen gestures.

Touchpad gestures observe hold gestures with a matching amount of
fingers and emit their begin and end signals when fingers are detected
or removed on/from the touchpad.

When a hold cancel event is detected, it is required to wait a few
milliseconds until the next event(s) are received to avoid emitting
multiple begin signals.

Part-of: <!3454>
gtk/gtkgesture.c