Added fix for mozbz#1623106
This commit is contained in:
parent
b0fd9d7c8d
commit
cd20e6c285
@ -184,6 +184,7 @@ Patch417: bug1375074-save-restore-x28.patch
|
||||
Patch422: mozilla-1580174-webrtc-popup.patch
|
||||
Patch423: mozilla-1620973.patch
|
||||
Patch424: mozilla-1615098.patch
|
||||
Patch425: mozilla-1623106.patch
|
||||
|
||||
# Wayland specific upstream patches
|
||||
Patch574: firefox-pipewire.patch
|
||||
@ -386,6 +387,7 @@ This package contains results of tests executed during build.
|
||||
#%patch241 -p1 -b .kiosk-workaround
|
||||
%patch423 -p1 -b .1620973
|
||||
%patch424 -p1 -b .1615098
|
||||
%patch425 -p1 -b .1623106
|
||||
|
||||
%patch402 -p1 -b .1196777
|
||||
%ifarch %{arm}
|
||||
@ -964,6 +966,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%changelog
|
||||
* Tue Mar 17 2020 Martin Stransky <stransky@redhat.com> - 74.0-9
|
||||
- Added fix for mozbz#1623060
|
||||
- Added fix for mozbz#1623106
|
||||
|
||||
* Tue Mar 17 2020 Jan Grulich <jgrulich@redhat.com> - 74-0-8
|
||||
- Add support for window sharing
|
||||
|
32
mozilla-1623106.patch
Normal file
32
mozilla-1623106.patch
Normal file
@ -0,0 +1,32 @@
|
||||
changeset: 520675:823e745af09e
|
||||
tag: tip
|
||||
user: Martin Stransky <stransky@redhat.com>
|
||||
date: Tue Mar 17 21:27:52 2020 +0100
|
||||
files: widget/gtk/nsWindow.cpp
|
||||
description:
|
||||
dd2
|
||||
|
||||
|
||||
diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
|
||||
--- a/widget/gtk/nsWindow.cpp
|
||||
+++ b/widget/gtk/nsWindow.cpp
|
||||
@@ -2740,16 +2739,18 @@ void nsWindow::OnContainerUnrealize() {
|
||||
}
|
||||
}
|
||||
|
||||
void nsWindow::OnSizeAllocate(GtkAllocation* aAllocation) {
|
||||
LOG(("nsWindow::OnSizeAllocate [%p] %d,%d -> %d x %d\n", (void*)this,
|
||||
aAllocation->x, aAllocation->y, aAllocation->width,
|
||||
aAllocation->height));
|
||||
|
||||
+ mBoundsAreValid = true;
|
||||
+
|
||||
LayoutDeviceIntSize size = GdkRectToDevicePixels(*aAllocation).Size();
|
||||
if (mBounds.Size() == size) {
|
||||
// We were already resized at nsWindow::OnConfigureEvent() so skip it.
|
||||
return;
|
||||
}
|
||||
|
||||
// Invalidate the new part of the window now for the pending paint to
|
||||
// minimize background flashes (GDK does not do this for external resizes
|
||||
|
Loading…
Reference in New Issue
Block a user