mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 05:33:03 -05:00
add windows-theming-bug.patch
This commit is contained in:
parent
9801c02821
commit
8b599513b8
2 changed files with 47 additions and 0 deletions
|
@ -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
|
||||
|
|
46
patches/windows-theming-bug.patch
Normal file
46
patches/windows-theming-bug.patch
Normal 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
|
Loading…
Reference in a new issue