Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/browser/app/profile/zen-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ pref('zen.urlbar.behavior', 'floating-on-type'); // default, floating-on-type, f
pref('zen.urlbar.wait-to-clear', 45000); // in ms (default 45s)
pref('zen.urlbar.show-domain-only-in-sidebar', true);
pref('zen.urlbar.hide-one-offs', true);
pref('zen.urlbar.disable-initial-focus', false);

#ifdef XP_MACOSX
// Disable for macos in the meantime until @HarryHeres finds a solution for hight DPI screens
Expand Down
5 changes: 3 additions & 2 deletions src/browser/base/content/ZenStartup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@
},

_initSearchBar() {
// Only focus the url bar
gURLBar.focus();
if (!Services.prefs.getBoolPref('zen.urlbar.disable-initial-focus', false)) {
gURLBar.focus();
}

gURLBar._initCopyCutController();
gURLBar._initPasteAndGo();
Expand Down