mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
UICommon: Move screensaver code to UICommon
This commit is contained in:
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user