From 6f35b27c2902a60e737d7f9772dafd154c1c9780 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 27 Jul 2022 22:13:23 +0200 Subject: [PATCH] Fix fullscreen game window F22 regression --- Source/Editor/Windows/GameWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/Windows/GameWindow.cs b/Source/Editor/Windows/GameWindow.cs index b7f955f11..0560c3068 100644 --- a/Source/Editor/Windows/GameWindow.cs +++ b/Source/Editor/Windows/GameWindow.cs @@ -78,6 +78,7 @@ namespace FlaxEditor.Windows { var monitorBounds = Platform.GetMonitorBounds(PointToScreen(Size * 0.5f)); ShowFloating(monitorBounds.Location + new Float2(200, 200), Float2.Zero, WindowStartPosition.Manual); + rootWindow = RootWindow; } if (rootWindow != null && !rootWindow.IsMaximized) rootWindow.Maximize();