[gtk+] wayland: Clear more thoroughly the source-side data on dnd_finished
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Clear more thoroughly the source-side data on dnd_finished
- Date: Wed, 9 Mar 2016 17:41:10 +0000 (UTC)
commit 3da4b81427e399bc194d4d24ae3de257eb258e14
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Mar 9 17:27:07 2016 +0100
wayland: Clear more thoroughly the source-side data on dnd_finished
The targets should also be unset.
gdk/wayland/gdkselection-wayland.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c
index 1826bb2..8a9d1ee 100644
--- a/gdk/wayland/gdkselection-wayland.c
+++ b/gdk/wayland/gdkselection-wayland.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]