1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Merge pull request #12387 from santouits/x1111

Fix x11 boot logo position in fullscreen and in maximized
This commit is contained in:
Rémi Verschelde
2017-11-20 15:48:08 +01:00
committed by GitHub
4 changed files with 45 additions and 48 deletions

2
main/main.cpp Normal file → Executable file
View File

@@ -427,6 +427,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
} else if (I->get() == "-m" || I->get() == "--maximized") { // force maximized window
init_maximized = true;
video_mode.maximized = true;
} else if (I->get() == "-w" || I->get() == "--windowed") { // force windowed window
init_windowed = true;
@@ -748,6 +749,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
Engine::get_singleton()->set_editor_hint(true);
main_args.push_back("--editor");
init_maximized = true;
video_mode.maximized = true;
use_custom_res = false;
}