vcl/unx/gtk3/gtk3gtkframe.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit c70b86588fe56f3e1077f3f904c379afda70c6be Author: Jan-Marek Glogowski <jan-marek.glogow...@extern.cib.de> AuthorDate: Fri Aug 16 11:43:23 2019 +0200 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Fri Aug 16 14:36:35 2019 +0200 Gtk3 inform LO of drag leave Actually the correct code was added in commit 0b354d18ccfc ("Related: tdf#93054 gtk3: implement enough dnd to be dragged into.."), but never enabled and then removed in commit c3074cb57843 ("vcl: remove dead code). It's at least needed, so D'n'D between two LO Calc windows correctly removes the pre-drop cell rectangle, when the mouse leaves the 2nd window without doing the drop. Commit references: * 0b354d18ccfc05e7c2582f851d9201e2aa353d7d * c3074cb5784329eaf558c2f58d96a64085b42d48 Change-Id: I55461f0c87cdef7a03fc261b363dc82642a3933d Reviewed-on: https://gerrit.libreoffice.org/77568 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de> diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index c4ed383798ef..53d492f4b8aa 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -3610,6 +3610,10 @@ void GtkDropTarget::signalDragLeave(GtkWidget* pWidget, GdkDragContext* /*contex { m_bInDrag = false; gtk_drag_unhighlight(pWidget); + + css::datatransfer::dnd::DropTargetEvent aEvent; + aEvent.Source = static_cast<css::datatransfer::dnd::XDropTarget*>(this); + fire_dragExit(aEvent); } void GtkSalFrame::signalDestroy( GtkWidget* pObj, gpointer frame ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits