Qt: Exit exclusive fullscreen on confirmation prompt

This commit is contained in:
spycrab 2018-06-01 04:05:59 +02:00
parent 60dd2553c6
commit 3b59ebb226
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,8 @@
#include "UICommon/UICommon.h"
#include "VideoCommon/VideoConfig.h"
#if defined(HAVE_XRANDR) && HAVE_XRANDR
#include <qpa/qplatformnativeinterface.h>
#include "UICommon/X11Utils.h"
@ -625,6 +627,10 @@ bool MainWindow::RequestStop()
{
m_render_widget_geometry = m_render_widget->saveGeometry();
}
else if (g_ActiveConfig.ExclusiveFullscreenEnabled())
{
FullScreen();
}
if (SConfig::GetInstance().bConfirmStop)
{