projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9430453
)
changed: don't start the screen saver when minimized. Prevents the start of the ss...
author
WiSo
<wiso@xbmc.org>
Sun, 22 Dec 2013 17:21:23 +0000
(18:21 +0100)
committer
WiSo
<wiso@xbmc.org>
Mon, 23 Dec 2013 19:53:32 +0000
(20:53 +0100)
xbmc/Application.cpp
patch
|
blob
|
history
diff --git
a/xbmc/Application.cpp
b/xbmc/Application.cpp
index
04997a1
..
387f0d4
100644
(file)
--- a/
xbmc/Application.cpp
+++ b/
xbmc/Application.cpp
@@
-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