mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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
fda406b4a8
commit
321553b139
@ -458,7 +458,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