Kaydet (Commit) 4ea76db5 authored tarafından Caolán McNamara's avatar Caolán McNamara

rhbz#1431476 dnd has started copying instead of moving slides

Is suspect something has changed in gtk3, and I think we're
not supposed to use gdk_drag_drop_succeeded at this point, but
instead we'd get a dragFailed signal on the failure case

Change-Id: I6b305db56a29255b468ca9182d1f7e57cb4c10f4
üst 4842f402
...@@ -4231,7 +4231,7 @@ void GtkDragSource::dragEnd(GdkDragContext* context) ...@@ -4231,7 +4231,7 @@ void GtkDragSource::dragEnd(GdkDragContext* context)
{ {
datatransfer::dnd::DragSourceDropEvent aEv; datatransfer::dnd::DragSourceDropEvent aEv;
aEv.DropAction = GdkToVcl(gdk_drag_context_get_selected_action(context)); aEv.DropAction = GdkToVcl(gdk_drag_context_get_selected_action(context));
aEv.DropSuccess = gdk_drag_drop_succeeded(context); aEv.DropSuccess = true;
auto xListener = m_xListener; auto xListener = m_xListener;
m_xListener.clear(); m_xListener.clear();
xListener->dragDropEnd(aEv); xListener->dragDropEnd(aEv);
......
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