summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-15 03:24:36 +0200
committerGitHub <noreply@github.com>2018-04-15 03:24:36 +0200
commit9f66cae8656fd4705c8e19a1297334f88304c02a (patch)
treef84857e8a08a2196aba63991737f0bef42e727e1
parentMerge pull request #331 from bunnei/fsp-flush (diff)
parentFix the stuck in fullscreen bug (Original PR: citra-emu/citra#3611) (diff)
downloadyuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.tar
yuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.tar.gz
yuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.tar.bz2
yuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.tar.lz
yuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.tar.xz
yuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.tar.zst
yuzu-9f66cae8656fd4705c8e19a1297334f88304c02a.zip
-rw-r--r--src/yuzu/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 34e33170e..534145f7e 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -776,9 +776,11 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
return;
}
- UISettings::values.geometry = saveGeometry();
+ if (ui.action_Fullscreen->isChecked()) {
+ UISettings::values.geometry = saveGeometry();
+ UISettings::values.renderwindow_geometry = render_window->saveGeometry();
+ }
UISettings::values.state = saveState();
- UISettings::values.renderwindow_geometry = render_window->saveGeometry();
#if MICROPROFILE_ENABLED
UISettings::values.microprofile_geometry = microProfileDialog->saveGeometry();
UISettings::values.microprofile_visible = microProfileDialog->isVisible();