mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt: Always return to windowed when confirming exit
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).
This commit is contained in:
@ -624,13 +624,9 @@ bool MainWindow::RequestStop()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!m_render_widget->isFullScreen())
|
if (!m_render_widget->isFullScreen())
|
||||||
{
|
|
||||||
m_render_widget_geometry = m_render_widget->saveGeometry();
|
m_render_widget_geometry = m_render_widget->saveGeometry();
|
||||||
}
|
else
|
||||||
else if (g_ActiveConfig.ExclusiveFullscreenEnabled())
|
|
||||||
{
|
|
||||||
FullScreen();
|
FullScreen();
|
||||||
}
|
|
||||||
|
|
||||||
if (SConfig::GetInstance().bConfirmStop)
|
if (SConfig::GetInstance().bConfirmStop)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user