Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
glennricster committed Dec 26, 2012
1 parent b3ed3bd commit 0de073e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Core/DolphinWX/Src/FrameTools.cpp
Expand Up @@ -1142,6 +1142,9 @@ void CFrame::DoStop()
DoFullscreen(false);
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
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;

// Clean framerate indications from the status bar.
Expand Down

0 comments on commit 0de073e

Please sign in to comment.