Bug 800314 - Stop the browser window from stealing focus when a download begins. r=paolo.

The most recent browser window (if available) was stealing focus when a download
started. This was to account for the case where a download was initiated from
the Library. We are, however, switching to a Library view that shows download
state and progress in bug 675902, so this focus pull is now unnecessary, and
disruptive for users with window managers that don't have focus-stealing
prevention.
This commit is contained in:
Mike Conley 2012-11-22 10:59:09 -05:00
parent 8f75dc0a6c
commit 4037acdba3

View File

@ -825,7 +825,6 @@ const DownloadsData = {
return;
}
browserWin.focus();
if (this.panelHasShownBefore) {
// For new downloads after the first one, don't show the panel
// automatically, but provide a visible notification in the topmost