From e02081c09ea51848f517bff6b176eb0c08fe4cbd Mon Sep 17 00:00:00 2001 From: Babib3l Date: Wed, 27 May 2026 12:25:09 +0000 Subject: [PATCH] Wire "Start games in fullscreen" option to use the new fullscreen behaviour (#113) Final (hopefully) fix for https://github.com/Ryubing/Issues/issues/415 Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/113 --- src/Ryujinx/Systems/AppHost.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ryujinx/Systems/AppHost.cs b/src/Ryujinx/Systems/AppHost.cs index 9825612f6..e377f9e4b 100644 --- a/src/Ryujinx/Systems/AppHost.cs +++ b/src/Ryujinx/Systems/AppHost.cs @@ -1094,10 +1094,10 @@ namespace Ryujinx.Ava.Systems { Dispatcher.UIThread.InvokeAsync(() => { - if (_viewModel.StartGamesInFullscreen) + if (_viewModel.StartGamesInFullscreen && _viewModel.WindowState is not WindowState.FullScreen) { - _viewModel.WindowState = WindowState.FullScreen; - _viewModel.Window.TitleBar.ExtendsContentIntoTitleBar = true; + // Use the view model toggle so decoration ordering matches user toggles. + _viewModel.ToggleFullscreen(); } if (_viewModel.WindowState is WindowState.FullScreen || _viewModel.StartGamesWithoutUi)