From b05d90bc1d8b3dfb77905f10b26e3c632c1b36e8 Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Tue, 17 Apr 2012 13:00:25 +1200 Subject: [PATCH] b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin --HG-- extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725 --- widget/gtk2/nsWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widget/gtk2/nsWindow.cpp b/widget/gtk2/nsWindow.cpp index 7f073429a01..991a63b3d55 100644 --- a/widget/gtk2/nsWindow.cpp +++ b/widget/gtk2/nsWindow.cpp @@ -3491,6 +3491,8 @@ nsWindow::OnDragDropEvent(GtkWidget *aWidget, dragServiceGTK->TargetSetLastContext(aWidget, aDragContext, aTime); dragServiceGTK->SetCanDrop(false); + dragService->FireDragEventAtSource(NS_DRAGDROP_DRAG); + nsDragEvent event(true, NS_DRAGDROP_OVER, innerMostWidget); InitDragEvent(event);