Backed out changeset b0abd344cf28 (bug 1730203) for causing linux bustages on nsWindow.cpp. CLOSED TREE

This commit is contained in:
Cosmin Sabou
2021-09-21 18:56:14 +03:00
parent c8c8ae4544
commit 1ad650ad4a

View File

@@ -4901,11 +4901,6 @@ void nsWindow::OnDragDataReceivedEvent(GtkWidget* aWidget,
RefPtr<nsDragService> dragService = nsDragService::GetInstance();
dragService->TargetDataReceived(aWidget, aDragContext, aX, aY, aSelectionData,
aInfo, aTime);
// When we get data from D&D operation, speed up data transfer to content
// process by emulating drag_move event. This is correct as we have all
// needed info (x/y coordinates and transaction time).
WindowDragMotionHandler(aWidget, aDragContext, nullptr, aX, aY, aTime);
}
nsWindow* nsWindow::GetTransientForWindowIfPopup() {