From dd9166c4359f6b28c60846e9becbd1f03bf36ac9 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 11 Aug 2014 20:41:44 +0200 Subject: [PATCH] dnd: Set drag gesture propagation phase to GTK_PHASE_NONE explicitly This used to rely on the default phase value. https://bugzilla.gnome.org/show_bug.cgi?id=734285 --- gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 7913b00a55..b396a2cc1e 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -2799,6 +2799,8 @@ gtk_drag_source_set (GtkWidget *widget, site = g_slice_new0 (GtkDragSourceSite); site->icon_helper = _gtk_icon_helper_new (); site->drag_gesture = gtk_gesture_drag_new (widget); + gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (site->drag_gesture), + GTK_PHASE_NONE); gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (site->drag_gesture), FALSE);