summaryrefslogtreecommitdiff
path: root/mozilla-1620973.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-04-06 23:07:31 +0200
committerMartin Stransky <stransky@redhat.com>2020-04-06 23:07:31 +0200
commit96352c55721a8fd63021212c02511a97e17d0acf (patch)
treec77aa1c019972c656bfb7f653b3c91100a4b11ff /mozilla-1620973.patch
parentAdded fix for mozbz#1627469 (diff)
downloadlibrewolf-fedora-ff-96352c55721a8fd63021212c02511a97e17d0acf.tar.gz
librewolf-fedora-ff-96352c55721a8fd63021212c02511a97e17d0acf.tar.bz2
librewolf-fedora-ff-96352c55721a8fd63021212c02511a97e17d0acf.zip
Updated to 75.0
Diffstat (limited to 'mozilla-1620973.patch')
-rw-r--r--mozilla-1620973.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/mozilla-1620973.patch b/mozilla-1620973.patch
deleted file mode 100644
index a836150..0000000
--- a/mozilla-1620973.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
---- a/modules/libpref/init/all.js
-+++ b/modules/libpref/init/all.js
-@@ -4018,6 +4018,7 @@
- #endif
- #ifdef MOZ_WAYLAND
- pref("widget.wayland_vsync.enabled", false);
-+ pref("widget.wayland.use-opaque-region", true);
- #endif
-
- // All the Geolocation preferences are here.
-diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
---- a/widget/gtk/nsWindow.cpp
-+++ b/widget/gtk/nsWindow.cpp
-@@ -333,6 +333,7 @@
- static bool gGlobalsInitialized = false;
- static bool gRaiseWindows = true;
- static bool gUseWaylandVsync = false;
-+static bool gUseWaylandUseOpaqueRegion = true;
- static GList* gVisibleWaylandPopupWindows = nullptr;
-
- #if GTK_CHECK_VERSION(3, 4, 0)
-@@ -4955,6 +4956,10 @@
- }
-
- void nsWindow::UpdateTopLevelOpaqueRegionWayland(bool aSubtractCorners) {
-+ if (!gUseWaylandUseOpaqueRegion) {
-+ return;
-+ }
-+
- wl_surface* surface = moz_gtk_widget_get_wl_surface(GTK_WIDGET(mShell));
- if (!surface) {
- return;
-@@ -6690,6 +6695,9 @@
- Preferences::GetBool("mozilla.widget.raise-on-setfocus", true);
- gUseWaylandVsync =
- Preferences::GetBool("widget.wayland_vsync.enabled", false);
-+ gUseWaylandUseOpaqueRegion =
-+ Preferences::GetBool("widget.wayland.use-opaque-region", true);
-+
- return NS_OK;
- }
-
-
bgstack15