mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
Merge pull request #726 from Armada651/ogl-exclusive
CFrame: Add fullscreen window styles to enable exclusive mode in OpenGL.
This commit is contained in:
commit
7b9c8da468
3 changed files with 24 additions and 4 deletions
|
@ -1072,6 +1072,9 @@ void CFrame::DoStop()
|
|||
// Ask for confirmation in case the user accidentally clicked Stop / Escape
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bConfirmStop)
|
||||
{
|
||||
// Exit fullscreen to ensure it does not cover the stop dialog.
|
||||
DoFullscreen(false);
|
||||
|
||||
// Pause the state during confirmation and restore it afterwards
|
||||
Core::EState state = Core::GetState();
|
||||
|
||||
|
@ -1082,10 +1085,6 @@ void CFrame::DoStop()
|
|||
{
|
||||
Core::SetState(Core::CORE_PAUSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
DoFullscreen(false);
|
||||
}
|
||||
|
||||
wxMessageDialog m_StopDlg(
|
||||
this,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue