Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa.
git-svn-id: svn://10.0.0.236/trunk@145903 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4755,7 +4755,7 @@ nsDocShell::SetupNewViewer(nsIContentViewer * aNewViewer)
|
||||
}
|
||||
|
||||
if (ourFocusedWindow == focusedWindow || isSubWindow)
|
||||
focusController->SetFocusedElement(nsnull);
|
||||
focusController->ResetElementFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user