From 7be8829b0adf2591250ce2fe5a8dc56731e645b3 Mon Sep 17 00:00:00 2001 From: Babib3l Date: Wed, 27 May 2026 07:25:09 -0500 Subject: [PATCH] Wire "Start games in fullscreen" option to use the new fullscreen behaviour Final (hopefully) fix for https://github.com/Ryubing/Issues/issues/415 --- src/Ryujinx/AppHost.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index cf218539c..e40f8319d 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -1090,9 +1090,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)