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

Final (hopefully) fix for https://github.com/Ryubing/Issues/issues/415
This commit is contained in:
Babib3l
2026-08-25 14:51:02 -05:00
committed by KeatonTheBot
parent 6225e142fc
commit 7be8829b0a
+3 -2
View File
@@ -1090,9 +1090,10 @@ namespace Ryujinx.Ava
{ {
Dispatcher.UIThread.InvokeAsync(() => 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) if (_viewModel.WindowState == WindowState.FullScreen || _viewModel.StartGamesWithoutUI)