mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
Qt: Fix returning to desktop mode from Big Picture
This commit is contained in:
parent
bbb1befa43
commit
2e95667ec2
@ -765,6 +765,11 @@ void EmuThread::stopFullscreenUI()
|
|||||||
|
|
||||||
if (m_is_fullscreen_ui_started)
|
if (m_is_fullscreen_ui_started)
|
||||||
{
|
{
|
||||||
|
// Need to switch out of fullscreen before stopping the fullscreen UI, otherwise Qt
|
||||||
|
// terminates the applcation because briefly there are no windows remaining.
|
||||||
|
if (m_is_fullscreen)
|
||||||
|
setFullscreen(false, true);
|
||||||
|
|
||||||
GPUThread::StopFullscreenUI();
|
GPUThread::StopFullscreenUI();
|
||||||
m_is_fullscreen_ui_started = false;
|
m_is_fullscreen_ui_started = false;
|
||||||
emit fullscreenUIStartedOrStopped(false);
|
emit fullscreenUIStartedOrStopped(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user