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

Michael Meeks michael.meeks at collabora.com
Fri Nov 13 16:43:50 PST 2015


 sd/source/ui/slideshow/slideshowimpl.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3a906cedeb700ffb950b46e728b20676956cec72
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Nov 14 00:52:57 2015 +0000

    Slideshow update loop; set scheduler priority to REPAINT.
    
    Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2

diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index a9fe9f8..cd9d91f 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -538,6 +538,8 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation,
         mpOldActiveWindow = mpViewShell->GetActiveWindow();
 
     maUpdateTimer.SetTimeoutHdl(LINK(this, SlideshowImpl, updateHdl));
+    // Priority must not be too high or we'll starve input handling etc.
+    maUpdateTimer.SetPriority(SchedulerPriority::REPAINT);
 
     maDeactivateTimer.SetTimeoutHdl(LINK(this, SlideshowImpl, deactivateHdl));
     maDeactivateTimer.SetTimeout( 20 );


More information about the Libreoffice-commits mailing list