[gtk+] quartz-dnd: make sure to set source window



commit b57bef989a7aa75e1434ac2291c9c0e121e15b00
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Wed Aug 27 14:08:49 2014 +0200

    quartz-dnd: make sure to set source window
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658722

 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 b284115..bb4a8f3 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]