mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
Qt: Exit exclusive fullscreen on confirmation prompt
This commit is contained in:
parent
60dd2553c6
commit
3b59ebb226
@ -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…
x
Reference in New Issue
Block a user