[gtk+] quartz-dnd: make sure to set source window
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz-dnd: make sure to set source window
- Date: Wed, 27 Aug 2014 18:57:38 +0000 (UTC)
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]