Kaydet (Commit) 3a906ced authored tarafından Michael Meeks's avatar Michael Meeks

Slideshow update loop; set scheduler priority to REPAINT.

Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2
üst b58be9e8
...@@ -538,6 +538,8 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation, ...@@ -538,6 +538,8 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation,
mpOldActiveWindow = mpViewShell->GetActiveWindow(); mpOldActiveWindow = mpViewShell->GetActiveWindow();
maUpdateTimer.SetTimeoutHdl(LINK(this, SlideshowImpl, updateHdl)); 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.SetTimeoutHdl(LINK(this, SlideshowImpl, deactivateHdl));
maDeactivateTimer.SetTimeout( 20 ); maDeactivateTimer.SetTimeout( 20 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment