Permalink
Browse files

Qt: Exit exclusive fullscreen on confirmation prompt

  • Loading branch information...
spycrab committed Jun 1, 2018
1 parent 60dd255 commit 3b59ebb226d05359f3cf593d7574b93223e9d070
Showing with 6 additions and 0 deletions.
  1. +6 −0 Source/Core/DolphinQt2/MainWindow.cpp
@@ -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)
{

0 comments on commit 3b59ebb

Please sign in to comment.