[gtk+] wayland: Don't assert fail in DND



commit 937dd010d05aee12de7ac64880b7f8bb0e245dda
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Nov 19 18:55:26 2013 -0500

    wayland: Don't assert fail in DND
    
    This needs completion, sure thing, but let's try to just not fall
    flat on our face first.

 gdk/wayland/gdkdnd-wayland.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkdnd-wayland.c b/gdk/wayland/gdkdnd-wayland.c
index feb7bec..34ea3cd 100644
--- a/gdk/wayland/gdkdnd-wayland.c
+++ b/gdk/wayland/gdkdnd-wayland.c
@@ -176,6 +176,8 @@ _gdk_wayland_window_drag_begin (GdkWindow *window,
   GdkDragContext *context;
 
   context = (GdkDragContext *) g_object_new (GDK_TYPE_WAYLAND_DRAG_CONTEXT, NULL);
+  context->source_window = window;
+  context->is_source = TRUE;
 
   gdk_drag_context_set_device (context, device);
 


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