diff options
author | bunnei <bunneidev@gmail.com> | 2022-06-01 19:26:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 19:26:24 +0200 |
commit | af418eb6662bcb859e7922105d9ad6ba50dec3ac (patch) | |
tree | 25116d3d052eae350f87b10f10493c9c1bf99b39 | |
parent | Merge pull request #8404 from Morph1984/virtual (diff) | |
parent | fix UI opening fullscreen after certain crashes (diff) | |
download | yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.tar yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.tar.gz yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.tar.bz2 yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.tar.lz yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.tar.xz yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.tar.zst yuzu-af418eb6662bcb859e7922105d9ad6ba50dec3ac.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index e14e8333c..8e7f91a0f 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1015,6 +1015,10 @@ void GMainWindow::SetDefaultUIGeometry() { void GMainWindow::RestoreUIState() { setWindowFlags(windowFlags() & ~Qt::FramelessWindowHint); restoreGeometry(UISettings::values.geometry); + // Work-around because the games list isn't supposed to be full screen + if (isFullScreen()) { + showNormal(); + } restoreState(UISettings::values.state); render_window->setWindowFlags(render_window->windowFlags() & ~Qt::FramelessWindowHint); render_window->restoreGeometry(UISettings::values.renderwindow_geometry); |