gesture-action: fix trigger edge after behavior with more than 1 point
https://bugzilla.gnome.org/show_bug.cgi?id=698669
This commit is contained in:
parent
2b25b056ad
commit
04f20909e3
@ -456,7 +456,8 @@ actor_captured_event_cb (ClutterActor *actor,
|
||||
|
||||
/* Start the gesture immediately if the gesture has no
|
||||
* _TRIGGER_EDGE_AFTER drag threshold. */
|
||||
if (priv->edge != CLUTTER_GESTURE_TRIGGER_EDGE_AFTER)
|
||||
if ((priv->points->len < priv->requested_nb_points) &&
|
||||
(priv->edge != CLUTTER_GESTURE_TRIGGER_EDGE_AFTER))
|
||||
begin_gesture (action, actor);
|
||||
|
||||
return CLUTTER_EVENT_PROPAGATE;
|
||||
|
Loading…
Reference in New Issue
Block a user