Wire "Start games in fullscreen" option to use the new fullscreen behaviour

Final (hopefully) fix for https://github.com/Ryubing/Issues/issues/415

(cherry picked from commit 7be8829b0a)
This commit is contained in:
Babib3l
2026-08-29 10:39:39 -05:00
committed by KeatonTheBot
parent b707c73f83
commit 77277442a9
+3 -2
View File
@@ -1066,9 +1066,10 @@ namespace Ryujinx.Ava
{
Dispatcher.UIThread.InvokeAsync(() =>
{
if (_viewModel.StartGamesInFullscreen)
if (_viewModel.StartGamesInFullscreen && _viewModel.WindowState is not WindowState.FullScreen)
{
_viewModel.WindowState = WindowState.FullScreen;
// Use the view model toggle so decoration ordering matches user toggles.
_viewModel.ToggleFullscreen();
}
if (_viewModel.WindowState == WindowState.FullScreen || _viewModel.StartGamesWithoutUI)