summaryrefslogtreecommitdiff
path: root/mozilla-1623106.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-03-17 22:10:33 +0100
committerMartin Stransky <stransky@redhat.com>2020-03-17 22:10:33 +0100
commitcd20e6c285a4631911b91290d5f158dfaf43dfb6 (patch)
tree62eb45f48eeb44b5dc71547b7651bed7bd82bb11 /mozilla-1623106.patch
parentmerged with master (diff)
downloadlibrewolf-fedora-ff-cd20e6c285a4631911b91290d5f158dfaf43dfb6.tar.gz
librewolf-fedora-ff-cd20e6c285a4631911b91290d5f158dfaf43dfb6.tar.bz2
librewolf-fedora-ff-cd20e6c285a4631911b91290d5f158dfaf43dfb6.zip
Added fix for mozbz#1623106
Diffstat (limited to 'mozilla-1623106.patch')
-rw-r--r--mozilla-1623106.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/mozilla-1623106.patch b/mozilla-1623106.patch
new file mode 100644
index 0000000..dace4c6
--- /dev/null
+++ b/mozilla-1623106.patch
@@ -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
+
bgstack15