summaryrefslogtreecommitdiff
path: root/mozilla-1767916-multimonitor-crash.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2022-05-11 09:11:20 +0200
committerJan Horak <jhorak@redhat.com>2022-05-11 09:11:20 +0200
commit4fc899095270f26783e0dd350c2eb3e41c7ac978 (patch)
tree2a15e30bdf3513f0278bda599ba62d8d18719515 /mozilla-1767916-multimonitor-crash.patch
parentFix crashes on f36 multimonitor setup and too big profile manager (diff)
downloadlibrewolf-fedora-ff-4fc899095270f26783e0dd350c2eb3e41c7ac978.tar.gz
librewolf-fedora-ff-4fc899095270f26783e0dd350c2eb3e41c7ac978.tar.bz2
librewolf-fedora-ff-4fc899095270f26783e0dd350c2eb3e41c7ac978.zip
Removed already added patch: mozilla-1767916-multimonitor-crash.patch
Diffstat (limited to 'mozilla-1767916-multimonitor-crash.patch')
-rw-r--r--mozilla-1767916-multimonitor-crash.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/mozilla-1767916-multimonitor-crash.patch b/mozilla-1767916-multimonitor-crash.patch
deleted file mode 100644
index 7ca3a2e..0000000
--- a/mozilla-1767916-multimonitor-crash.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/widget/gtk/MozContainerWayland.cpp b/widget/gtk/MozContainerWayland.cpp
---- a/widget/gtk/MozContainerWayland.cpp
-+++ b/widget/gtk/MozContainerWayland.cpp
-@@ -527,10 +527,16 @@
- return;
- }
-
- LOGWAYLAND("%s [%p] scale %d\n", __FUNCTION__,
- (void*)moz_container_get_nsWindow(container), scale);
-+ // There is a chance that the attached wl_buffer has not yet been doubled
-+ // on the main thread when scale factor changed to 2. This leads to
-+ // crash with the following message:
-+ // Buffer size (AxB) must be an integer multiple of the buffer_scale (2)
-+ // Removing the possibly wrong wl_buffer to prevent that crash:
-+ wl_surface_attach(wl_container->surface, nullptr, 0, 0);
- wl_surface_set_buffer_scale(wl_container->surface, scale);
- wl_container->buffer_scale = scale;
- }
- }
-
-
bgstack15