changed: don't start the screen saver when minimized. Prevents the start of the ss...
authorWiSo <wiso@xbmc.org>
Sun, 22 Dec 2013 17:21:23 +0000 (18:21 +0100)
committerWiSo <wiso@xbmc.org>
Mon, 23 Dec 2013 19:53:32 +0000 (20:53 +0100)
xbmc/Application.cpp

index 04997a1..387f0d4 100644 (file)
@@ -5129,6 +5129,12 @@ void CApplication::ProcessSlow()
     CAddonInstaller::Get().UpdateRepos();
 
   CAEFactory::GarbageCollect();
+
+  // if we don't render the gui there's no reason to start the screensaver.
+  // that way the screensaver won't kick in if we maximize the XBMC window
+  // after the screensaver start time.
+  if(!m_renderGUI)
+    ResetScreenSaverTimer();
 }
 
 // Global Idle Time in Seconds