From 53ed455d76042599a7ff3d7afb15863e083de66e Mon Sep 17 00:00:00 2001 From: spycrab Date: Mon, 4 Jun 2018 19:15:57 +0200 Subject: [PATCH] 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). --- Source/Core/DolphinQt2/MainWindow.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index e133403f3f..7424aaf1b3 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -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) {