зеркало из https://github.com/mozilla/gecko-dev.git
fixes (well sort of) bug 216800 "drag-n-drop to a GTK2 mozilla build often fails" r+sr=blizzard a=asa
This commit is contained in:
Родитель
72836811a9
Коммит
41656501de
|
@ -1778,10 +1778,10 @@ nsWindow::OnDragLeaveEvent(GtkWidget *aWidget,
|
|||
// signal
|
||||
mDragLeaveTimer = do_CreateInstance("@mozilla.org/timer;1");
|
||||
NS_ASSERTION(mDragLeaveTimer, "Failed to create drag leave timer!");
|
||||
// fire this baby asafp
|
||||
// fire this baby asafp, but not too quickly... see bug 216800 ;-)
|
||||
mDragLeaveTimer->InitWithFuncCallback(DragLeaveTimerCallback,
|
||||
(void *)this,
|
||||
0, nsITimer::TYPE_ONE_SHOT);
|
||||
20, nsITimer::TYPE_ONE_SHOT);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
Загрузка…
Ссылка в новой задаче