Skip to content

Commit

Permalink
Adjust LTO configuration to respect disable flag and increase sidebar…
Browse files Browse the repository at this point in the history
… max width
  • Loading branch information
mr-cheff committed Dec 22, 2024
1 parent a7b486d commit 4e1737c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions configs/linux/mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ elif test "$ZEN_RELEASE"; then
ac_add_options MOZ_PGO=1

# Override the default LTO flags because clang++ LITERALLY SEGFAULTS while compiling with -flto=thin... How unfortunate :c
export MOZ_LTO=cross
ac_add_options --enable-lto=cross
if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=cross
ac_add_options --enable-lto=cross
fi

# Optimization flags for general release
ac_add_options --enable-wasm-avx
Expand Down
2 changes: 1 addition & 1 deletion src/browser/app/profile/zen-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pref('zen.glance.hold-duration', 300); // in ms
pref('zen.glance.activation-method', 'alt'); // ctrl, alt, shift, none, hold

pref('zen.view.sidebar-height-throttle', 200); // in ms
pref('zen.view.sidebar-expanded.max-width', 400);
pref('zen.view.sidebar-expanded.max-width', 500);

pref('zen.view.show-bottom-border', false);
pref('zen.view.use-single-toolbar', true);
Expand Down

0 comments on commit 4e1737c

Please sign in to comment.