Skip to content

Commit

Permalink
Qt: Always return to windowed when confirming exit
Browse files Browse the repository at this point in the history
If we don't do this the prompt *may* appear behind the fullscreened window
and thus cause confusion. This happens both with exclusive fullscreen and
borderless fullscreen (e.g. for OpenGL).
  • Loading branch information
spycrab committed Jun 4, 2018
1 parent b26a47e commit 53ed455
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Source/Core/DolphinQt2/MainWindow.cpp
Expand Up @@ -624,13 +624,9 @@ bool MainWindow::RequestStop()
}

if (!m_render_widget->isFullScreen())
{
m_render_widget_geometry = m_render_widget->saveGeometry();
}
else if (g_ActiveConfig.ExclusiveFullscreenEnabled())
{
else
FullScreen();
}

if (SConfig::GetInstance().bConfirmStop)
{
Expand Down

0 comments on commit 53ed455

Please sign in to comment.