summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-17 09:57:24 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-17 09:57:24 +0100
commit278037ebfb816ad39f8546a194131e89803e7075 (patch)
tree3048f5ae34648eec933d387641da2eb16106bc1a /src/lib
parentb1101aa464f3b7cca89dfb868dd573b6d9bde195 (diff)
Speculative fix for failure to keep the computer awake during encodes on Windows.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index e30cf6459..9b7d5594f 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -310,7 +310,7 @@ void
Waker::nudge ()
{
#ifdef DCPOMATIC_WINDOWS
- SetThreadExecutionState (ES_CONTINUOUS);
+ SetThreadExecutionState (ES_SYSTEM_REQUIRED);
#endif
}