summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-09 00:39:08 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-10 21:13:45 +0200
commitb2c2a9e6ec7a4f8ef8e31f97d4feece18c9c3286 (patch)
tree4d4c6a724d29396e1e0529e142cf188ccdba4cda /src/tools
parentb4e4f2f752bf451e38cf47190a4d4df228ff7db9 (diff)
Keep screen awake while playing on Windows (#3095).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc2
-rw-r--r--src/tools/dcpomatic_player.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index 8f8cf3df0..e0c69f5a4 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -316,7 +316,7 @@ public:
*/
, _splitter(new LimitedFrameSplitter(this))
, _right_panel(new wxPanel(_splitter, wxID_ANY))
- , _film_viewer(_right_panel)
+ , _film_viewer(_right_panel, false)
{
auto bar = new wxMenuBar;
setup_menu (bar);
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index 32c6c980b..f95165620 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -209,7 +209,7 @@ public:
the dark-grey background on Windows.
*/
, _overall_panel(new wxPanel(this, wxID_ANY))
- , _viewer(_overall_panel)
+ , _viewer(_overall_panel, true)
, _main_sizer (new wxBoxSizer(wxVERTICAL))
{
dcpomatic_log = make_shared<NullLog>();