mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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:
parent
a8e631543e
commit
1e3debbd9e
@ -254,7 +254,7 @@ emit_drag_motion (ClutterDragAction *action,
|
|||||||
{
|
{
|
||||||
priv->emit_delayed_press = FALSE;
|
priv->emit_delayed_press = FALSE;
|
||||||
|
|
||||||
emit_drag_begin (action, actor, NULL);
|
emit_drag_begin (action, actor, event);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user