0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-21 21:23:08 -05:00

add windows-theming-bug.patch

This commit is contained in:
Malte Jürgens 2023-03-17 19:35:47 +01:00
parent 9801c02821
commit 8b599513b8
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3
2 changed files with 47 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,46 @@
# LibreWolf windows-theming-bug.patch
#
# Author: Malte Jürgens <maltejur@dismail.de>
# 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 @@
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="*"
- name="Firefox"
+ name="LibreWolf"
type="win32"
/>
-<description>Firefox</description>
+<description>LibreWolf</description>
<dependency>
<dependentAssembly>
<assemblyIdentity