projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0224517
)
dragsource: Fix cancellation
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 7 Jan 2020 01:46:08 +0000
(20:46 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jan 2020 23:48:22 +0000
(18:48 -0500)
We need to properly end the drag.
gtk/gtkdragsource.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdragsource.c
b/gtk/gtkdragsource.c
index e4b812846ec8fe10c1e520d2538e96e31bdef69d..69a3f9da579f480d3e9a99ecd3717a4d93548b6b 100644
(file)
--- 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);
}
}