summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-09-11 14:47:20 +0200
committerMartin Stransky <stransky@redhat.com>2019-09-11 14:47:20 +0200
commit25a13aa0dcdd8b60f5e49d8a783840fd17cdea8b (patch)
treea7e50112c69bf78baea08efbf7948ac29b63cbdd
parentAdded fix for mozbz#1579794 - Flickering on video playback on 4k/HiDPI displays (diff)
downloadlibrewolf-fedora-ff-25a13aa0dcdd8b60f5e49d8a783840fd17cdea8b.tar.gz
librewolf-fedora-ff-25a13aa0dcdd8b60f5e49d8a783840fd17cdea8b.tar.bz2
librewolf-fedora-ff-25a13aa0dcdd8b60f5e49d8a783840fd17cdea8b.zip
Added fix for mozbz#1579849 - partial screen update when page switches
-rw-r--r--firefox.spec8
-rw-r--r--mozilla-1579849.patch14
2 files changed, 21 insertions, 1 deletions
diff --git a/firefox.spec b/firefox.spec
index e23bf3b..9e929a5 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -94,7 +94,7 @@ ExcludeArch: ppc64le
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 69.0
-Release: 4%{?pre_tag}%{?dist}
+Release: 5%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -164,6 +164,7 @@ Patch581: mozilla-1574036.patch
Patch582: mozilla-1576268.patch
Patch583: mozilla-1579794-1.patch
Patch584: mozilla-1579794-2.patch
+Patch585: mozilla-1579849.patch
# PGO/LTO patches
Patch600: pgo.patch
@@ -380,6 +381,7 @@ This package contains results of tests executed during build.
%patch582 -p1 -b .mozilla-1576268
%patch583 -p1 -b .mozilla-1579794-1
%patch584 -p1 -b .mozilla-1579794-2
+%patch585 -p1 -b .mozilla-1579849
# PGO patches
%patch600 -p1 -b .pgo
@@ -956,6 +958,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Wed Sep 11 2019 Martin Stransky <stransky@redhat.com> - 69.0-5
+- Added fix for mozbz#1579849 - partial screen update when
+ page switches.
+
* Wed Sep 11 2019 Martin Stransky <stransky@redhat.com> - 69.0-4
- Added fix for mozbz#1579794 - Flickering on video playback on
4k/HiDPI displays.
diff --git a/mozilla-1579849.patch b/mozilla-1579849.patch
new file mode 100644
index 0000000..fb3e8c2
--- /dev/null
+++ b/mozilla-1579849.patch
@@ -0,0 +1,14 @@
+diff -up firefox-69.0/widget/gtk/WindowSurfaceWayland.cpp.old firefox-69.0/widget/gtk/WindowSurfaceWayland.cpp
+--- firefox-69.0/widget/gtk/WindowSurfaceWayland.cpp.old 2019-09-11 14:34:36.687382704 +0200
++++ firefox-69.0/widget/gtk/WindowSurfaceWayland.cpp 2019-09-11 14:39:02.000391578 +0200
+@@ -751,6 +751,10 @@ static bool IsPopupFullScreenUpdate(Layo
+ already_AddRefed<gfx::DrawTarget> WindowSurfaceWayland::Lock(
+ const LayoutDeviceIntRegion& aRegion) {
+ MOZ_ASSERT(mIsMainThread == NS_IsMainThread());
++
++ // Disable all commits from frame callback handler and delayed comit handler
++ // as we're updated by gecko compositor.
++ mPendingCommit = false;
+
+ LayoutDeviceIntRect lockedScreenRect = mWindow->GetBounds();
+ gfx::IntRect bounds = aRegion.GetBounds().ToUnknownRect();
bgstack15