mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-03 02:00:05 +00:00
Qt: Fix incorrect lock parent
This commit is contained in:
parent
a422402014
commit
b27e5ac26a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user