quartz-dnd: make sure to set source window

https://bugzilla.gnome.org/show_bug.cgi?id=658722
This commit is contained in:
Jesse van den Kieboom 2014-08-27 14:08:49 +02:00
parent 6b0e4ba789
commit b57bef989a

View File

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