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:
parent
aef38397d3
commit
7f88e2461b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user