[clutter] drag-action: Use the motion event when passing the drag	threshold
- From: Emmanuele Bassi <ebassi src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [clutter] drag-action: Use the motion event when passing the drag	threshold
 
- Date: Thu, 23 Feb 2012 10:51:40 +0000 (UTC)
 
commit 1e3debbd9e125d4e318ba91ff1f80131ed18bdfd
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Feb 21 11:08:43 2012 +0000
    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-drag-action.c b/clutter/clutter-drag-action.c
index f03280f..5fc8157 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;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]