From 1e3debbd9e125d4e318ba91ff1f80131ed18bdfd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 21 Feb 2012 11:08:43 +0000 Subject: [PATCH] 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 --- clutter/clutter-drag-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-drag-action.c b/clutter/clutter-drag-action.c index f03280f76..5fc81574d 100644 --- a/clutter/clutter-drag-action.c +++ b/clutter/clutter-drag-action.c @@ -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;