From 77277442a9e2cac597192f05d5ad6e9f02190a23 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 (cherry picked from commit 7be8829b0adf2591250ce2fe5a8dc56731e645b3) --- 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 45d5a45eb..5a6baf06c 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -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)