mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
gesture-action: begin gesture as soon as the number of touchpoints is reached
1ddef9576d87c98fafbcefe3108f04866630c2cd had its logic the wrong way round, a gesture should begin as soon as the requested number of touchpoints is reached. Correcting this fixes tap events https://bugzilla.gnome.org/show_bug.cgi?id=700980
This commit is contained in:
parent
76fb468319
commit
3bcee2b122
@ -496,7 +496,7 @@ actor_captured_event_cb (ClutterActor *actor,
|
||||
|
||||
/* Start the gesture immediately if the gesture has no
|
||||
* _TRIGGER_EDGE_AFTER drag threshold. */
|
||||
if ((priv->points->len < priv->requested_nb_points) &&
|
||||
if ((priv->points->len >= priv->requested_nb_points) &&
|
||||
(priv->edge != CLUTTER_GESTURE_TRIGGER_EDGE_AFTER))
|
||||
begin_gesture (action, actor);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user