diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-01-01 21:03:50 +0000 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-01-03 12:38:33 +0100 |
| commit | 0dd52ca7abdadbf24c831bfbf9ac8f39a7627ec9 (patch) | |
| tree | db43cfb5ef6eea3e7bcb4c5037804adf23bc268d /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 26a9957285aac023ee7d35cf506b82381575df9a (diff) | |
UICommon: Move screensaver code to UICommon
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 929e435bd9..28bce659e3 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -744,7 +744,7 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot) } else { - InhibitScreensaver(); + EnableScreenSaver(false); // We need this specifically to support setting the focus properly when using // the 'render to main window' feature on Windows @@ -931,7 +931,7 @@ void CFrame::OnStopped() m_tried_graceful_shutdown = false; wxPostEvent(GetMenuBar(), wxCommandEvent{DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM}); - UninhibitScreensaver(); + EnableScreenSaver(true); m_render_frame->SetTitle(StrToWxStr(Common::scm_rev_str)); |
