You've already forked godot
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:
2
main/main.cpp
Normal file → Executable file
2
main/main.cpp
Normal file → Executable 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user