When asked to programmatically open a new URL (i.e. by being launched from another app), give the resulting web view input focus.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@531 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
anevilyak
2012-07-03 15:44:46 +02:00
committed by Alexandre Deckner
parent aef38397d3
commit 7f88e2461b
+1
View File
@@ -363,6 +363,7 @@ BrowserApp::_CreateNewPage(const BString& url, bool fullscreen)
else
webWindow->CreateNewTab(url, true);
webWindow->Activate();
webWindow->CurrentWebView()->MakeFocus(true);
loadedInWindowOnCurrentWorkspace = true;
}
webWindow->Unlock();