aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index cf8854e42..3a296f20a 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -324,6 +324,9 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes)
prefService->GetBranch ("", getter_AddRefs(pref));
if (pref == NULL) return FALSE;
+ /* Don't allow mozilla to raise window when setting focus (work around bugs) */
+ pref->SetBoolPref ("mozilla.widget.raise-on-setfocus", PR_FALSE);
+
/* set default search engine */
pref->SetCharPref ("keyword.URL", "http://www.google.com/search?q=");
pref->SetBoolPref ("keyword.enabled", PR_TRUE);