fix for bug #32710. make sure to call gdk_drop_finish() after the drop. this gets rid of the problem of a ghost icon flying across the screen a few minutes after a drag-n-drop operation.

This commit is contained in:
blizzard%redhat.com 2000-04-18 02:29:48 +00:00
parent ef88b04ba2
commit 752377eb74

View File

@ -1443,6 +1443,10 @@ nsWindow::OnToplevelDragDrop (GtkWidget *aWidget,
innerMostWidget->Release();
// before we unset the context we need to do a drop_finish
gdk_drop_finish(aDragContext, TRUE, aTime);
// after a drop takes place we need to make sure that the drag
// service doesn't think that it still has a context. if the other
// way ( besides the drop ) to end a drag event is during the leave