Merge pull request #3611 from adityaruplaha/fullscreen-fix

citra-qt: Fix the stuck in fullscreen bug.
master
Weiyi Wang 2018-04-12 22:43:04 +07:00 committed by GitHub
commit f10123f546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

@ -1161,9 +1161,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();