зеркало из https://github.com/mozilla/pjs.git
fixes bug 216800 "drag-n-drop to a GTK2 mozilla build often fails" patch=glen@imodulo.com r+sr=blizzard
This commit is contained in:
Родитель
0fa318d5e3
Коммит
f7a09d7889
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче