зеркало из https://github.com/mozilla/pjs.git
322044 When Camino is hidden, invoking via Service does not respect external app pref. 333974 Same thing when clicking links in other applications. Use non-visible windows when the app is hidden. r=smfr
This commit is contained in:
Родитель
ddc8d38608
Коммит
3885b7b78c
|
@ -999,7 +999,7 @@ Otherwise, we return the URL we originally got. Right now this supports .url and
|
|||
// an empty chrome mask, or ones with a toolbar, status bar, and resize control
|
||||
// to be real top-level browser windows for purposes of saving size and
|
||||
// loading urls in. Others are popups and are transient.
|
||||
if (([curWindow isVisible] || [curWindow isMiniaturized]) &&
|
||||
if (([curWindow isVisible] || [curWindow isMiniaturized] || [NSApp isHidden]) &&
|
||||
[[curWindow windowController] isMemberOfClass:[BrowserWindowController class]] &&
|
||||
[[curWindow windowController] hasFullBrowserChrome])
|
||||
{
|
||||
|
@ -1024,7 +1024,7 @@ Otherwise, we return the URL we originally got. Right now this supports .url and
|
|||
// an empty chrome mask, or ones with a toolbar, status bar, and resize control
|
||||
// to be real top-level browser windows for purposes of saving size and
|
||||
// loading urls in. Others are popups and are transient.
|
||||
if (([curWindow isVisible] || [curWindow isMiniaturized]) &&
|
||||
if (([curWindow isVisible] || [curWindow isMiniaturized] || [NSApp isHidden]) &&
|
||||
[[curWindow windowController] isMemberOfClass:[BrowserWindowController class]] &&
|
||||
[[curWindow windowController] hasFullBrowserChrome])
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче