diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-15 03:24:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-15 03:24:36 +0200 |
commit | 9f66cae8656fd4705c8e19a1297334f88304c02a (patch) | |
tree | f84857e8a08a2196aba63991737f0bef42e727e1 /src | |
parent | Merge pull request #331 from bunnei/fsp-flush (diff) | |
parent | Fix the stuck in fullscreen bug (Original PR: citra-emu/citra#3611) (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 6 |
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(); |