mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
When using the "Keep window on top option" make sure that the effect of
that option ends when emulation ends when using render to main.
This commit is contained in:
parent
b3ed3bdb91
commit
0de073edea
@ -1142,6 +1142,9 @@ void CFrame::DoStop()
|
|||||||
DoFullscreen(false);
|
DoFullscreen(false);
|
||||||
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
|
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
|
||||||
m_RenderFrame->Destroy();
|
m_RenderFrame->Destroy();
|
||||||
|
else
|
||||||
|
// Make sure the window is not longer set to stay on top
|
||||||
|
m_RenderFrame->SetWindowStyle(m_RenderFrame->GetWindowStyle() & ~wxSTAY_ON_TOP);
|
||||||
m_RenderParent = NULL;
|
m_RenderParent = NULL;
|
||||||
|
|
||||||
// Clean framerate indications from the status bar.
|
// Clean framerate indications from the status bar.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user