зеркало из https://github.com/mozilla/gecko-dev.git
Bug 345538: Can no longer drag extensions or themes into Add-ons manager to install them (drags from outside Mozilla don't work), patch by Michael Wu <michael.wu@mozilla.com>, r+sr=roc
This commit is contained in:
Родитель
348cf9998f
Коммит
182f0345f7
|
@ -2274,9 +2274,12 @@ nsWindow::OnDragMotionEvent(GtkWidget *aWidget,
|
|||
event.type = GDK_BUTTON_RELEASE;
|
||||
event.button.time = mLastButtonReleaseTime;
|
||||
event.button.button = 1;
|
||||
mLastButtonReleaseTime = 0;
|
||||
if (widget) {
|
||||
g_signal_emit_by_name(widget, "button_release_event", &event, &retval);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
sIsDraggingOutOf = PR_FALSE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче