mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
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:
parent
ef88b04ba2
commit
752377eb74
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user