yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #327 from adityaruplaha/fullscreen-fix

Fix the stuck in fullscreen bug
This commit is contained in:
bunnei 2018-04-14 21:24:36 -04:00 committed by GitHub
commit 9f66cae865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -776,9 +776,11 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
return;
}
if (ui.action_Fullscreen->isChecked()) {
UISettings::values.geometry = saveGeometry();
UISettings::values.state = saveState();
UISettings::values.renderwindow_geometry = render_window->saveGeometry();
}
UISettings::values.state = saveState();
#if MICROPROFILE_ENABLED
UISettings::values.microprofile_geometry = microProfileDialog->saveGeometry();
UISettings::values.microprofile_visible = microProfileDialog->isVisible();