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.
This commit is contained in:
Jasper St. Pierre 2013-11-19 18:55:26 -05:00
parent 96ca7fe6e6
commit 937dd010d0

View File

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