quartz: we must provide a window on drag begin now

This commit is contained in:
Kristian Rietveld 2010-12-23 13:20:24 +01:00
parent 0840b25165
commit 07110a6170

View File

@ -1109,7 +1109,7 @@ gtk_drag_begin_internal (GtkWidget *widget,
GdkDragContext *context;
NSWindow *nswindow;
context = gdk_drag_begin (NULL, NULL);
context = gdk_drag_begin (gtk_widget_get_window (widget), NULL);
info = gtk_drag_get_source_info (context, TRUE);