summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-07 10:50:02 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-07 10:50:02 -0400
commit52fcd4603e3a7b5c35e061538b27b0087c169f8b (patch)
treecde484fcc9c2544ebf7ff4bfd2e797bd84956075 /src
parentd82e30730d03774b7dc7c1dca93778ea4e487189 (diff)
Focus render area after opening a new URL
Diffstat (limited to 'src')
-rw-r--r--src/uicmd.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 6b2c0e13..d3ab8ded 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -567,6 +567,7 @@ void a_UIcmd_open_url(BrowserWindow *bw, const DilloUrl *url)
{
if (url) {
a_Nav_push(bw, url, NULL);
+ BW2UI(bw)->focus_main();
} else {
// Used to start a bw with a blank screen
BW2UI(bw)->focus_location();