From b27e5ac26a6b21b02116c30278dff49db1b1f110 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 19 May 2025 23:52:11 +1000 Subject: [PATCH] Qt: Fix incorrect lock parent --- src/duckstation-qt/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index d18411a1d..70ca638f5 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -3001,7 +3001,7 @@ MainWindow::SystemLock MainWindow::pauseAndLockSystem() } // Now we'll either have a borderless window, or a regular window (if we were exclusive fullscreen). - QWidget* dialog_parent = s_system_valid ? getDisplayContainer() : this; + QWidget* dialog_parent = (s_system_valid && was_fullscreen) ? getDisplayContainer() : this; return SystemLock(dialog_parent, was_paused, was_fullscreen); }