From 1eefaf8b417c257bed94b4bd4b1893cfdba4822c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 6 Jan 2020 20:46:08 -0500 Subject: [PATCH] dragsource: Fix cancellation We need to properly end the drag. --- gtk/gtkdragsource.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/gtkdragsource.c b/gtk/gtkdragsource.c index e4b812846e..69a3f9da57 100644 --- a/gtk/gtkdragsource.c +++ b/gtk/gtkdragsource.c @@ -693,8 +693,7 @@ gtk_drag_source_drag_cancel (GtkDragSource *source) gboolean success = FALSE; g_signal_emit (source, signals[DRAG_CANCEL], 0, source->drag, GDK_DRAG_CANCEL_ERROR, &success); - - gdk_drag_drop_done (source->drag, success); + drag_end (source->drag, FALSE); } }