Merge pull request #7042 from spycrab/qt_conf_prompt
Qt: Exit exclusive fullscreen on confirmation prompt
This commit is contained in:
commit
064d173ec4
|
@ -86,6 +86,8 @@
|
||||||
|
|
||||||
#include "UICommon/UICommon.h"
|
#include "UICommon/UICommon.h"
|
||||||
|
|
||||||
|
#include "VideoCommon/VideoConfig.h"
|
||||||
|
|
||||||
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
||||||
#include <qpa/qplatformnativeinterface.h>
|
#include <qpa/qplatformnativeinterface.h>
|
||||||
#include "UICommon/X11Utils.h"
|
#include "UICommon/X11Utils.h"
|
||||||
|
@ -625,6 +627,10 @@ bool MainWindow::RequestStop()
|
||||||
{
|
{
|
||||||
m_render_widget_geometry = m_render_widget->saveGeometry();
|
m_render_widget_geometry = m_render_widget->saveGeometry();
|
||||||
}
|
}
|
||||||
|
else if (g_ActiveConfig.ExclusiveFullscreenEnabled())
|
||||||
|
{
|
||||||
|
FullScreen();
|
||||||
|
}
|
||||||
|
|
||||||
if (SConfig::GetInstance().bConfirmStop)
|
if (SConfig::GetInstance().bConfirmStop)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue