diff options
author | santouits <santouits@users.noreply.github.com> | 2017-10-24 22:35:28 +0300 |
---|---|---|
committer | santouits <santouits@users.noreply.github.com> | 2017-10-26 01:06:26 +0300 |
commit | 55fae24710eaaca482cb2adfcf3b81546e71414c (patch) | |
tree | ace2ae35f5c9de7c07a8e06f8d5dda0650545e91 /main | |
parent | 0268a95828bd0690aedadf0e2503f1e1f67bf81f (diff) |
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 deffb3a632..c98bc6e5f6 100644..100755 --- a/main/main.cpp +++ b/main/main.cpp @@ -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; } |