summaryrefslogtreecommitdiff
path: root/mozilla-1579849.patch
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 /mozilla-1579849.patch
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
Diffstat (limited to 'mozilla-1579849.patch')
-rw-r--r--mozilla-1579849.patch14
1 files changed, 14 insertions, 0 deletions
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