diff options
author | Björn Bidar | 2021-08-21 04:56:10 +0300 |
---|---|---|
committer | Björn Bidar | 2021-08-21 07:00:24 +0300 |
commit | 1c4b1476a60508b0ed46459a8ff1da6dc232ba33 (patch) | |
tree | 0bcd842e303f68f89cdfc8154cfc01c6b1e5f275 /unity-menubar.patch | |
parent | 6b850f75313f5a625728ce34c98267261a62f839 (diff) | |
download | aur-1c4b1476a60508b0ed46459a8ff1da6dc232ba33.tar.gz |
Update to 91.0.1-1
- New upstream release
- Update patches:
- unity-menubar patch from Ubuntu
- firefox-kde patches from openSUSE
- Gentoo
- Add patch from Ubuntu as workaround
for wayland support not building #14
- Remove gtk2 buildrequires
Diffstat (limited to 'unity-menubar.patch')
-rw-r--r-- | unity-menubar.patch | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/unity-menubar.patch b/unity-menubar.patch index 7e0141588cf3..0c4103b66447 100644 --- a/unity-menubar.patch +++ b/unity-menubar.patch @@ -107,9 +107,9 @@ +#ifdef MOZ_WIDGET_GTK +pref("ui.use_unity_menubar", true); +#endif - // 0 = false, 1 = true, 2 = autodetect. - pref("ui.android.mouse_as_touch", 1); + pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline + // 0 = no external leading, --- a/toolkit/content/xul.css +++ b/toolkit/content/xul.css @@ -230,6 +230,13 @@ toolbar[type="menubar"] { @@ -128,24 +128,23 @@ } --- a/widget/gtk/moz.build +++ b/widget/gtk/moz.build -@@ -33,11 +33,16 @@ EXPORTS += [ - +@@ -33,6 +33,7 @@ EXPORTS.mozilla += ["WidgetUtilsGtk.h"] -+EXPORTS.mozilla.widget += [ + EXPORTS.mozilla.widget += [ + "NativeMenuSupport.h", -+] -+ - UNIFIED_SOURCES += [ - "IMContextWrapper.cpp", + "WindowSurface.h", + "WindowSurfaceProvider.h", + ] +@@ -45,6 +46,7 @@ "MozContainer.cpp", "MPRISServiceHandler.cpp", "NativeKeyBindings.cpp", + "NativeMenuSupport.cpp", + "nsApplicationChooser.cpp", "nsAppShell.cpp", "nsBidiKeyboard.cpp", - "nsColorPicker.cpp", -@@ -59,6 +64,15 @@ UNIFIED_SOURCES += [ +@@ -70,6 +72,15 @@ SOURCES += [ "MediaKeysEventSourceFactory.cpp", @@ -158,10 +157,10 @@ + "nsMenuSeparator.cpp", + "nsNativeMenuDocListener.cpp", + "nsNativeMenuService.cpp", + "nsNativeThemeGTK.cpp", # conflicts with X11 headers "nsWindow.cpp", # conflicts with X11 headers "WaylandVsyncSource.cpp", # conflicts with X11 headers - ] -@@ -139,6 +153,7 @@ LOCAL_INCLUDES += [ +@@ -138,6 +149,7 @@ "/layout/base", "/layout/forms", "/layout/generic", @@ -5078,14 +5077,14 @@ --- a/widget/gtk/nsWindow.h +++ b/widget/gtk/nsWindow.h @@ -39,6 +39,8 @@ - + #include "nsRefPtrHashtable.h" #include "IMContextWrapper.h" +#include "nsMenuBar.h" + - #undef LOG - #ifdef MOZ_LOGGING - + #ifdef ACCESSIBILITY + # include "mozilla/a11y/LocalAccessible.h" + #endif @@ -168,6 +170,8 @@ class nsWindow final : public nsBaseWidg nsIScreen* aTargetScreen = nullptr) override; virtual void HideWindowChrome(bool aShouldHide) override; @@ -5101,9 +5100,9 @@ static bool sTransparentMainWindow; + + mozilla::UniquePtr<nsMenuBar> mMenuBar; - }; - #endif /* __nsWindow_h__ */ + #ifdef ACCESSIBILITY + RefPtr<mozilla::a11y::LocalAccessible> mRootAccessible; --- /dev/null +++ b/xpcom/ds/NativeMenuAtoms.py @@ -0,0 +1,9 @@ |