projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af4d65a
)
[win32] Fix: CWinIdleTimer::StartZero - do not set ES_SYSTEM_REQUIRED and ES_DISPLAY_...
author
Anton Fedchin
<afedchin@ruswizards.com>
Tue, 5 May 2015 12:41:34 +0000
(15:41 +0300)
committer
Anton Fedchin
<afedchin@ruswizards.com>
Thu, 7 May 2015 13:02:27 +0000
(16:02 +0300)
xbmc/win32/WIN32Util.cpp
patch
|
blob
|
history
diff --git
a/xbmc/win32/WIN32Util.cpp
b/xbmc/win32/WIN32Util.cpp
index
89755a1
..
24403cd
100644
(file)
--- a/
xbmc/win32/WIN32Util.cpp
+++ b/
xbmc/win32/WIN32Util.cpp
@@
-1520,7
+1520,8
@@
void CWIN32Util::CropSource(CRect& src, CRect& dst, CRect target)
void CWinIdleTimer::StartZero()
{
- SetThreadExecutionState(ES_SYSTEM_REQUIRED|ES_DISPLAY_REQUIRED);
+ if (!g_application.IsDPMSActive())
+ SetThreadExecutionState(ES_SYSTEM_REQUIRED|ES_DISPLAY_REQUIRED);
CStopWatch::StartZero();
}