summaryrefslogtreecommitdiff
path: root/firefox-wayland-cache-missing.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2020-01-03 20:21:27 +0100
committerJan Horak <jhorak@redhat.com>2020-01-03 20:21:27 +0100
commitd28964787477ef7b3d3ff778038c292eb0a36a59 (patch)
tree5970f55afa6fbf1b3d0fe85a076171e69cb7d576 /firefox-wayland-cache-missing.patch
parentMerge branch 'master' into f31 (diff)
parentUpdate to 72.0 (diff)
downloadlibrewolf-fedora-ff-d28964787477ef7b3d3ff778038c292eb0a36a59.tar.gz
librewolf-fedora-ff-d28964787477ef7b3d3ff778038c292eb0a36a59.tar.bz2
librewolf-fedora-ff-d28964787477ef7b3d3ff778038c292eb0a36a59.zip
Merge branch 'master' into f31
Diffstat (limited to 'firefox-wayland-cache-missing.patch')
-rw-r--r--firefox-wayland-cache-missing.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/firefox-wayland-cache-missing.patch b/firefox-wayland-cache-missing.patch
deleted file mode 100644
index 8d665b5..0000000
--- a/firefox-wayland-cache-missing.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -up firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp.old firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp
---- firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp.old 2019-09-19 15:05:13.586437024 +0200
-+++ firefox-69.0.1/widget/gtk/WindowSurfaceWayland.cpp 2019-09-19 15:09:39.649079248 +0200
-@@ -836,8 +836,15 @@ already_AddRefed<gfx::DrawTarget> Window
- mBufferScreenRect = lockedScreenRect;
- }
-
-- mDrawToWaylandBufferDirectly =
-- (windowRedraw || mRenderingCacheMode != CACHE_ALL);
-+ if (mRenderingCacheMode == CACHE_ALL) {
-+ mDrawToWaylandBufferDirectly = windowRedraw;
-+ } else if (mRenderingCacheMode == CACHE_MISSING) {
-+ mDrawToWaylandBufferDirectly = windowRedraw ||
-+ ((lockSize.width*3 > lockedScreenRect.width &&
-+ lockSize.height*3 > lockedScreenRect.height));
-+ } else {
-+ mDrawToWaylandBufferDirectly = true;
-+ }
-
- if (mDrawToWaylandBufferDirectly) {
- LOGWAYLAND((" Direct drawing\n"));
bgstack15