diff options
author | Jesse van den Kieboom <jessevdk@gmail.com> | 2014-08-27 14:08:49 +0200 |
---|---|---|
committer | Jesse van den Kieboom <jessevdk@gmail.com> | 2014-08-27 20:57:17 +0200 |
commit | b57bef989a7aa75e1434ac2291c9c0e121e15b00 (patch) | |
tree | 4c09fa6b5bbff23746db708a87a75f8c7fb9e0da /gdk | |
parent | 6b0e4ba789a5bb9e66f23deac160ed6cbb15a976 (diff) | |
download | gtk+-b57bef989a7aa75e1434ac2291c9c0e121e15b00.tar.gz |
quartz-dnd: make sure to set source window
https://bugzilla.gnome.org/show_bug.cgi?id=658722
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/quartz/gdkdnd-quartz.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |