Browse Source

Issue #576 User can no longer enter exclusive fullscreen mode during Editor mode, but can enter fullscreen when in Play Mode.

weinand 10 years ago
parent
commit
71b13696a4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Source/AtomicEditor/Application/AEEditorApp.cpp

+ 5 - 0
Source/AtomicEditor/Application/AEEditorApp.cpp

@@ -76,6 +76,11 @@ void AEEditorApp::Setup()
 
 
     AEEditorCommon::Setup();
     AEEditorCommon::Setup();
 
 
+    // Ensure exclusive fullscreen is disabled in Editor application
+    Input* input = GetSubsystem<Input>();
+    input->SetToggleFullscreen(false);
+
+
     ToolEnvironment* env = GetSubsystem<ToolEnvironment>();
     ToolEnvironment* env = GetSubsystem<ToolEnvironment>();
 
 
     engineParameters_["WindowTitle"] = "AtomicEditor";
     engineParameters_["WindowTitle"] = "AtomicEditor";