Speculative fix for failure to keep the computer awake during encodes on Windows.
[dcpomatic.git] / src / lib / cross.cc
index e30cf64598f57e717745cc22291022ebbb0eccac..9b7d5594f392ecde245ff6646ccce4766133a1f2 100644 (file)
@@ -310,7 +310,7 @@ void
 Waker::nudge ()
 {
 #ifdef DCPOMATIC_WINDOWS
-       SetThreadExecutionState (ES_CONTINUOUS);
+       SetThreadExecutionState (ES_SYSTEM_REQUIRED);
 #endif 
 }