diff options
-rw-r--r-- | clutter/clutter-gesture-action.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clutter/clutter-gesture-action.c b/clutter/clutter-gesture-action.c index 27eb1a597..329b17045 100644 --- a/clutter/clutter-gesture-action.c +++ b/clutter/clutter-gesture-action.c @@ -448,7 +448,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; |