Files
desktop/src/browser/base/content/browser-xhtml.patch
2025-11-08 11:40:06 +01:00

36 lines
1.3 KiB
C++

diff --git a/browser/base/content/browser.xhtml b/browser/base/content/browser.xhtml
index 246d23a77960d25f78b163429a3ed28c7180ccd7..1c26485d8464413689767c8a38aadbcadcecae4d 100644
--- a/browser/base/content/browser.xhtml
+++ b/browser/base/content/browser.xhtml
@@ -19,6 +19,7 @@
sizemode="normal"
retargetdocumentfocus="urlbar-input"
scrolling="false"
+ zen-before-loaded="true"
persist="screenX screenY width height sizemode"
data-l10n-sync="true">
<head>
@@ -98,8 +99,10 @@
<title data-l10n-id="browser-main-window-default-title"></title>
+#include zen-preloaded.inc.xhtml
<script src="chrome://browser/content/global-scripts.js"></script>
<script src="chrome://browser/content/browser-main.js"></script>
+#include zen-assets.inc.xhtml
</head>
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
# All sets except for popupsets (commands, keys, and stringbundles)
@@ -132,9 +135,11 @@
</vbox>
</html:template>
+<hbox id="zen-main-app-wrapper" flex="1" class="browser-toolbox-background">
#include navigator-toolbox.inc.xhtml
#include browser-box.inc.xhtml
+</hbox>
<html:template id="customizationPanel">
<box id="customization-container" flex="1" hidden="true"><![CDATA[