fixes bug 216800 "drag-n-drop to a GTK2 mozilla build often fails" patch=glen@imodulo.com r+sr=blizzard

git-svn-id: svn://10.0.0.236/trunk@147884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net 2003-10-11 23:38:38 +00:00
parent 514e9101ed
commit d551202a12

View File

@ -1841,7 +1841,10 @@ nsWindow::OnDragDropEvent(GtkWidget *aWidget,
// clear any drag leave timer that might be pending so that it
// doesn't get processed when we actually go out to get data.
mDragLeaveTimer = 0;
if (mDragLeaveTimer) {
mDragLeaveTimer->Cancel();
mDragLeaveTimer = 0;
}
// set the last window to this
mLastDragMotionWindow = innerMostWidget;