drag-action: Use the motion event when passing the drag threshold

This avoids a critical warning, but it also makes the dragging more
fluid in case of threshold crossing.

https://bugzilla.gnome.org/show_bug.cgi?id=670402
This commit is contained in:
Emmanuele Bassi 2012-02-21 11:08:43 +00:00
parent a8e631543e
commit 1e3debbd9e

View File

@ -254,7 +254,7 @@ emit_drag_motion (ClutterDragAction *action,
{
priv->emit_delayed_press = FALSE;
emit_drag_begin (action, actor, NULL);
emit_drag_begin (action, actor, event);
}
else
return;