diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-19 07:56:24 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-12-19 08:08:48 +0100 |
commit | 39bb6851e42b7cf71c23819009665b10194e12a1 (patch) | |
tree | 0e60481d7742c053d66dd398b57b27f035d9faa7 | |
parent | Merge pull request #7593 from german77/brrr_test (diff) | |
download | yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.tar yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.tar.gz yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.tar.bz2 yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.tar.lz yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.tar.xz yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.tar.zst yuzu-39bb6851e42b7cf71c23819009665b10194e12a1.zip |
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index b7bb43348..2daf191b3 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2574,7 +2574,7 @@ void GMainWindow::ShowFullscreen() { render_window->hide(); render_window->setWindowFlags(windowFlags() | Qt::FramelessWindowHint); - const auto screen_geometry = QApplication::desktop()->screenGeometry(this); + const auto screen_geometry = QApplication::desktop()->screenGeometry(render_window); render_window->setGeometry(screen_geometry.x(), screen_geometry.y(), screen_geometry.width(), screen_geometry.height() + 1); render_window->raise(); |