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

The targets should also be unset.
This commit is contained in:
Carlos Garnacho 2016-03-09 17:27:07 +01:00
parent ec2257e53c
commit 3da4b81427

View File

@ -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