mirror of https://github.com/PCSX2/pcsx2.git
Qt: Restore geometry before going fullscreen
Fixes fullscreen with separate window on another monitor popup switching the fullscreen monitor case.
This commit is contained in:
parent
1767213321
commit
bcde888257
|
@ -1816,6 +1816,11 @@ void MainWindow::createDisplayWidget(bool fullscreen, bool render_to_main, bool
|
|||
|
||||
if (fullscreen)
|
||||
{
|
||||
// Don't risk doing this on Wayland, it really doesn't like window state changes,
|
||||
// and positioning has no effect anyway.
|
||||
if (!s_use_central_widget)
|
||||
restoreDisplayWindowGeometryFromConfig();
|
||||
|
||||
if (!is_exclusive_fullscreen)
|
||||
container->showFullScreen();
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue