mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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 "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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user