You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
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
@@ -395,6 +395,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;
|
||||
@@ -716,6 +717,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