diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2013-06-27 12:27:34 +1000 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2013-06-30 23:41:06 +1000 |
commit | d3b68a283fd3d2e9a98a9fd5a617ec89448bd389 (patch) | |
tree | f2ea1e737067f6d1d6a87aeff3f7d266eab0bc90 /TOOLS/lib | |
parent | 0a1c49794531bf62dcbfb33e1f0adae5f14fe718 (diff) | |
download | mpv-d3b68a283fd3d2e9a98a9fd5a617ec89448bd389.tar.bz2 mpv-d3b68a283fd3d2e9a98a9fd5a617ec89448bd389.tar.xz |
w32_common: prevent display power management
Handling SC_MONITORPOWER doesn't seem to prevent the screen from
dimming. The recommended way to do this in Windows XP and Vista is to
call SetThreadExecutionState with ES_DISPLAY_REQUIRED. Windows 7 also
has the PowerCreateRequest/PowerSetRequest/PowerClearRequest APIs but
they're probably too complicated for this task.
Diffstat (limited to 'TOOLS/lib')
0 files changed, 0 insertions, 0 deletions