diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-20 15:48:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 15:48:08 +0100 |
commit | 450bdda97a933ed9081efa20bddc71ee0b8286c9 (patch) | |
tree | a17e49d24adfeab5fdfc64749ea38ccd1146eb52 /main | |
parent | 30a82e5e007dfa6eca0bc2021381beae57293b91 (diff) | |
parent | 55fae24710eaaca482cb2adfcf3b81546e71414c (diff) |
Merge pull request #12387 from santouits/x1111
Fix x11 boot logo position in fullscreen and in maximized
Diffstat (limited to 'main')
-rwxr-xr-x[-rw-r--r--] | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index c4bca94b44..5410aae1d2 100644..100755 --- a/main/main.cpp +++ b/main/main.cpp @@ -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; } |