Commit 3da4b814 authored by Carlos Garnacho's avatar Carlos Garnacho

wayland: Clear more thoroughly the source-side data on dnd_finished

The targets should also be unset.
parent ec2257e5
......@@ -964,7 +964,7 @@ data_source_dnd_finished (void *data,
g_signal_emit_by_name (context, "dnd-finished");
gdk_selection_owner_set (NULL, atoms[ATOM_DND], GDK_CURRENT_TIME, TRUE);
gdk_wayland_selection_unset_data_source (display, atoms[ATOM_DND]);
gdk_wayland_selection_clear_targets (display, atoms[ATOM_DND]);
}
static void
......
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