diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-06-04 19:15:57 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-06-04 20:32:36 +0200 |
| commit | 53ed455d76042599a7ff3d7afb15863e083de66e (patch) | |
| tree | 5176bcc8bc92e8522d00df215290243e00ce0cd0 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | b26a47e6425c00020de11756239f9828638d28df (diff) | |
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).
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 6 |
1 files changed, 1 insertions, 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) { |
