diff --git a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs
index 88a24c34dc..7fd1ad1041 100644
--- a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs
+++ b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs
@@ -1776,6 +1776,7 @@ public void ToggleFullscreen()
if (WindowState is not WindowState.Normal)
{
WindowState = WindowState.Normal;
+ Window.TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar;
if (IsGameRunning)
{
@@ -1785,6 +1786,7 @@ public void ToggleFullscreen()
else
{
WindowState = WindowState.FullScreen;
+ Window.TitleBar.ExtendsContentIntoTitleBar = true;
if (IsGameRunning)
{
diff --git a/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml b/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml
index fe8b64eb61..94e035022f 100644
--- a/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml
+++ b/src/Ryujinx/UI/Views/Main/MainMenuBarView.axaml
@@ -12,13 +12,13 @@
-
-
-
+