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

Michael Meeks michael.meeks at collabora.com
Thu Sep 10 01:30:13 PDT 2015


 vcl/source/app/idle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 76eff026062c2bb755256cf9b335711d5421d27f
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Sep 10 09:36:30 2015 +0100

    Fixup low-prio idle's effect on min-period.
    
    Change-Id: Ib01883e09a32d839cc20455276655ad39bd6828c

diff --git a/vcl/source/app/idle.cxx b/vcl/source/app/idle.cxx
index dcf11b2..5ce5361 100644
--- a/vcl/source/app/idle.cxx
+++ b/vcl/source/app/idle.cxx
@@ -65,7 +65,7 @@ sal_uInt64 Idle::UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 /* nTime */
         break;
     default:
         // FIXME: tdf#92036 workaround, I should be 1 too - wait 5ms
-        if (nMinPeriod < 5)
+        if (nMinPeriod > 5) // only shrink the min. period if nothing is quicker.
             nMinPeriod = 5;
         break;
     }


More information about the Libreoffice-commits mailing list