summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoradityaruplaha <adi24360526@gmail.com>2018-04-14 13:05:47 +0200
committeradityaruplaha <adi24360526@gmail.com>2018-04-14 13:11:56 +0200
commit958c98bdaedc8b496f62967142e5bf4f448260b2 (patch)
treef9f25ea4a212062cc93ce0f842bed0744b11263c /src
parentMerge pull request #323 from Hexagon12/stub-hid (diff)
downloadyuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.tar
yuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.tar.gz
yuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.tar.bz2
yuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.tar.lz
yuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.tar.xz
yuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.tar.zst
yuzu-958c98bdaedc8b496f62967142e5bf4f448260b2.zip
Diffstat (limited to 'src')
-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();