Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus.
git-svn-id: svn://10.0.0.236/trunk@33689 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -734,7 +734,7 @@ DocumentViewerImpl::MakeWindow(nsNativeWidget aNativeParent,
|
||||
// This SetFocus is necessary so the Arrow Key and Page Key events
|
||||
// go to the scrolled view as soon as the Window is created instead of going to
|
||||
// the browser window (this enables keyboard scrolling of the document)
|
||||
mWindow->SetFocus();
|
||||
// mWindow->SetFocus();
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user