Commit 8e53a011 authored by Matthias Clasen's avatar Matthias Clasen

places sidebar: Fix rows getting 'lost' when dnd fails

There was some code that lead to the places sidebar loosing track
of the row being dragged if a motion event came in between letting
go of the button and the drag snap-back animation ending. This would
cause us to not show the row again, giving the appearance that it
was 'lost'.
parent 8756c038
......@@ -1456,11 +1456,7 @@ on_motion_notify_event (GtkWidget *widget,
return FALSE;
if (!(event->state & GDK_BUTTON1_MASK))
sidebar->drag_row = NULL;
return FALSE;
return FALSE;
if (gtk_drag_check_threshold (widget,
sidebar->drag_root_x, sidebar->drag_root_y,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment