Removed already added patch: mozilla-1767916-multimonitor-crash.patch
This commit is contained in:
parent
c66f451d52
commit
4fc8990952
@ -218,7 +218,6 @@ Patch61: firefox-glibc-dynstack.patch
|
||||
Patch62: build-python.patch
|
||||
Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch
|
||||
Patch72: D142373.diff
|
||||
Patch73: mozilla-1767916-multimonitor-crash.patch
|
||||
|
||||
# Test patches
|
||||
# Generate without context by
|
||||
@ -463,7 +462,6 @@ This package contains results of tests executed during build.
|
||||
%patch54 -p1 -b .1669639
|
||||
%patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
|
||||
%patch72 -p1 -b .D142373
|
||||
%patch73 -p1 -b .mozilla-1767916-multimonitor-crash
|
||||
|
||||
# Test patches
|
||||
#%patch100 -p1 -b .firefox-tests-xpcshell
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user