change window stagger to the height of the titlebar to match HIG (bug 288390)

git-svn-id: svn://10.0.0.236/trunk@177296 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%aol.net 2005-08-07 22:03:10 +00:00
parent d4270d21d4
commit 987f48de94

View File

@ -719,7 +719,8 @@ enum BWCOpenDest {
// stagger window from last browser, if there is one. we can't just use autoposition
// because it doesn't work on multiple monitors (radar bug 2972893). |getFrontmostBrowserWindow|
// only gets fully chromed windows, so this will do the right thing for popups (yay!).
const int kWindowStaggerOffset = 15;
const int kWindowStaggerOffset = 22;
NSWindow* lastBrowser = [[NSApp delegate] getFrontmostBrowserWindow];
if ( lastBrowser != [self window] ) {
NSRect screenRect = [[lastBrowser screen] visibleFrame];