From e3012dc9b303ccc8b0301e7702b5cec0368da59a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 19 Nov 2015 20:00:23 +0100 Subject: [PATCH] gtkdnd: Use gdk_drag_begin_for_device() We've got the pointer at hand there, just pass that instead of figuring out from the client pointer. --- gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 58d03950c3..42bf8f1187 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -2456,7 +2456,7 @@ gtk_drag_begin_internal (GtkWidget *widget, source_widgets = g_slist_prepend (source_widgets, ipc_widget); - context = gdk_drag_begin (ipc_window, targets); + context = gdk_drag_begin_for_device (ipc_window, pointer, targets); gdk_drag_context_set_device (context, pointer); g_list_free (targets);