summaryrefslogtreecommitdiff
path: root/src/dwb.c
diff options
context:
space:
mode:
authorAdam Ehlers Nyholm Thomsen <adament@adament.net>2012-12-12 20:44:31 +0100
committerAdam Ehlers Nyholm Thomsen <adament@adament.net>2012-12-12 20:44:31 +0100
commit3deb33b0d75789a66e728ba9701a898bf9b6570e (patch)
tree5621be05ac1c679e1d366002bbee48708644b3de /src/dwb.c
parenta0f27f01f732202fb671bd0557b260c65fb46e85 (diff)
parent568af55053d2809ad5c17ca37eee701d3e7db632 (diff)
downloaddwb-3deb33b0d75789a66e728ba9701a898bf9b6570e.zip
Merge upstream changes.
Diffstat (limited to 'src/dwb.c')
-rw-r--r--src/dwb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dwb.c b/src/dwb.c
index 9974875b..785ab97f 100644
--- a/src/dwb.c
+++ b/src/dwb.c
@@ -1786,6 +1786,9 @@ dwb_clean_load_begin(GList *gl)
v->status->ssl = SSL_NONE;
v->plugins->status &= ~PLUGIN_STATUS_HAS_PLUGIN;
+ if (gl == dwb.state.fview && (dwb.state.mode == INSERT_MODE || dwb.state.mode == FIND_MODE))
+ dwb_change_mode(NORMAL_MODE, true);
+
view_set_favicon(gl, false);
}/*}}}*/