diff --git a/assets/patches.txt b/assets/patches.txt index 11ac66b..6503a8a 100644 --- a/assets/patches.txt +++ b/assets/patches.txt @@ -27,3 +27,4 @@ patches/ui-patches/remove-snippets-from-home.patch patches/ui-patches/website-appearance-ui-rfp.patch patches/unified-extensions-dont-show-recommendations.patch patches/urlbarprovider-interventions.patch +patches/windows-theming-bug.patch diff --git a/patches/windows-theming-bug.patch b/patches/windows-theming-bug.patch new file mode 100644 index 0000000..6da4e0b --- /dev/null +++ b/patches/windows-theming-bug.patch @@ -0,0 +1,46 @@ +# LibreWolf windows-theming-bug.patch +# +# Author: Malte Jürgens +# Description: Fix broken titlebar on Windows +# Last Updated: 2023-03-17 +# License: MPL 2.0 +# +# If we use `--with-app-name=librewolf`, Firefox will think it is running on a +# super old windows version. This will cause it to make some changes +# which break the titlebar styling (and probably also some other things). +# +# See: +# https://gitlab.com/librewolf-community/browser/windows/-/issues/146 +# https://bugzilla.mozilla.org/show_bug.cgi?id=1801640 +diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in +index 54d6b43fe126..116410bb89d9 100644 +--- a/browser/app/Makefile.in ++++ b/browser/app/Makefile.in +@@ -31,7 +31,7 @@ ifeq ($(OS_ARCH),WINNT) + # (this dependency should really be just for firefox.exe, not other targets) + # Note the manifest file exists in the tree, so we use the explicit filename + # here. +-EXTRA_DEPS += $(srcdir)/firefox.exe.manifest ++EXTRA_DEPS += $(srcdir)/librewolf.exe.manifest + endif + + PROGRAMS_DEST = $(DIST)/bin +diff --git a/browser/app/firefox.exe.manifest b/browser/app/librewolf.exe.manifest +similarity index 96% +rename from browser/app/firefox.exe.manifest +rename to browser/app/librewolf.exe.manifest +--- a/browser/app/firefox.exe.manifest ++++ b/browser/app/librewolf.exe.manifest +@@ -3,10 +3,10 @@ + +-Firefox ++LibreWolf + + +