зеркало из https://github.com/mozilla/gecko-dev.git
keep whatever utility window is in the fg when user clicks on dock tile and
don't bring an existing browser in front of it (bug 196661)
This commit is contained in:
Родитель
6403defab2
Коммит
8423426475
|
@ -1160,12 +1160,6 @@ const int kReuseWindowOnAE = 2;
|
||||||
NSWindow* frontBrowser = [self getFrontmostBrowserWindow];
|
NSWindow* frontBrowser = [self getFrontmostBrowserWindow];
|
||||||
if ( !frontBrowser )
|
if ( !frontBrowser )
|
||||||
[self newWindow:self];
|
[self newWindow:self];
|
||||||
else {
|
|
||||||
if ([[frontBrowser windowController] respondsToSelector:@selector(showWindow:)])
|
|
||||||
[[frontBrowser windowController] showWindow:self];
|
|
||||||
else
|
|
||||||
[self newWindow:self];
|
|
||||||
}
|
|
||||||
|
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче