diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-11-14 00:52:57 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-11-14 00:52:57 +0000 |
commit | 3a906cedeb700ffb950b46e728b20676956cec72 (patch) | |
tree | ceb87aa690ab17945ab60abe5818db82aac2c06a /sd | |
parent | b58be9e8f983d1d0ca10a6ebe903c9a6482cefdd (diff) |
Slideshow update loop; set scheduler priority to REPAINT.
Change-Id: If7607c45c7645a6b32ea3cad0f9f7eca6635ace2
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index a9fe9f8c61f7..cd9d91f9c589 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 ); |