diff options
-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(); |