[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 10 18:52:42 UTC 2020


 vcl/source/control/InterimItemWindow.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit aa9a5e412490cd6b50f3861868a866d2d7fa5011
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 10 12:56:19 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 10 20:51:41 2020 +0200

    turn off any idle scheduled layout on hard layout
    
    Change-Id: Iaccc043e4187b46135c017f05f6179d17564a735
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102389
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/control/InterimItemWindow.cxx b/vcl/source/control/InterimItemWindow.cxx
index 132560247c74..3ed1107bea87 100644
--- a/vcl/source/control/InterimItemWindow.cxx
+++ b/vcl/source/control/InterimItemWindow.cxx
@@ -73,6 +73,7 @@ IMPL_LINK_NOARG(InterimItemWindow, DoLayout, Timer*, void) { Layout(); }
 
 void InterimItemWindow::Layout()
 {
+    m_aLayoutIdle.Stop();
     vcl::Window* pChild = GetWindow(GetWindowType::FirstChild);
     assert(pChild);
     VclContainer::setLayoutAllocation(*pChild, Point(0, 0), GetSizePixel());


More information about the Libreoffice-commits mailing list