diff options
author | Kyle Kienapfel <Docteh@users.noreply.github.com> | 2022-06-01 03:32:04 +0200 |
---|---|---|
committer | Kyle Kienapfel <Docteh@users.noreply.github.com> | 2022-06-01 06:24:31 +0200 |
commit | 36df3ce97e75337128369e542e16155ca7fe5c34 (patch) | |
tree | 5a67a128b0809ef3e79f773007a01222f8d8546a | |
parent | Merge pull request #8385 from lat9nq/just-subsys-win (diff) | |
download | yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.tar yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.tar.gz yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.tar.bz2 yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.tar.lz yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.tar.xz yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.tar.zst yuzu-36df3ce97e75337128369e542e16155ca7fe5c34.zip |
-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 f4a9a7171..5162ae285 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); |