From b57bef989a7aa75e1434ac2291c9c0e121e15b00 Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Wed, 27 Aug 2014 14:08:49 +0200 Subject: [PATCH] quartz-dnd: make sure to set source window https://bugzilla.gnome.org/show_bug.cgi?id=658722 --- gdk/quartz/gdkdnd-quartz.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c index b2841151c0..bb4a8f3b9a 100644 --- a/gdk/quartz/gdkdnd-quartz.c +++ b/gdk/quartz/gdkdnd-quartz.c @@ -44,6 +44,9 @@ _gdk_quartz_window_drag_begin (GdkWindow *window, NULL); _gdk_quartz_drag_source_context->is_source = TRUE; + _gdk_quartz_drag_source_context->source_window = window; + g_object_ref (window); + _gdk_quartz_drag_source_context->targets = targets; gdk_drag_context_set_device (_gdk_quartz_drag_source_context, device);